Class SharePatch.Builder

  • Enclosing class:
    SharePatch

    public static class SharePatch.Builder
    extends Object
    Builder.
    • Constructor Detail

      • Builder

        public Builder()
        Instantiates a new builder.
    • Method Detail

      • build

        public SharePatch build()
        Builds a SharePatch.
        Returns:
        the new SharePatch instance
      • addAllowedTransitEncryptionModes

        public SharePatch.Builder addAllowedTransitEncryptionModes​(String allowedTransitEncryptionModes)
        Adds a new element to allowedTransitEncryptionModes.
        Parameters:
        allowedTransitEncryptionModes - the new element to be added
        Returns:
        the SharePatch builder
      • addUserTags

        public SharePatch.Builder addUserTags​(String userTags)
        Adds a new element to userTags.
        Parameters:
        userTags - the new element to be added
        Returns:
        the SharePatch builder
      • accessControlMode

        public SharePatch.Builder accessControlMode​(String accessControlMode)
        Set the accessControlMode.
        Parameters:
        accessControlMode - the accessControlMode
        Returns:
        the SharePatch builder
      • allowedTransitEncryptionModes

        public SharePatch.Builder allowedTransitEncryptionModes​(List<String> allowedTransitEncryptionModes)
        Set the allowedTransitEncryptionModes. Existing allowedTransitEncryptionModes will be replaced.
        Parameters:
        allowedTransitEncryptionModes - the allowedTransitEncryptionModes
        Returns:
        the SharePatch builder
      • iops

        public SharePatch.Builder iops​(long iops)
        Set the iops.
        Parameters:
        iops - the iops
        Returns:
        the SharePatch builder
      • name

        public SharePatch.Builder name​(String name)
        Set the name.
        Parameters:
        name - the name
        Returns:
        the SharePatch builder
      • replicationCronSpec

        public SharePatch.Builder replicationCronSpec​(String replicationCronSpec)
        Set the replicationCronSpec.
        Parameters:
        replicationCronSpec - the replicationCronSpec
        Returns:
        the SharePatch builder
      • size

        public SharePatch.Builder size​(long size)
        Set the size.
        Parameters:
        size - the size
        Returns:
        the SharePatch builder
      • userTags

        public SharePatch.Builder userTags​(List<String> userTags)
        Set the userTags. Existing userTags will be replaced.
        Parameters:
        userTags - the userTags
        Returns:
        the SharePatch builder