Class UpdateBucketOptions.Builder

  • Enclosing class:
    UpdateBucketOptions

    public static class UpdateBucketOptions.Builder
    extends java.lang.Object
    Builder.
    • Constructor Detail

      • Builder

        public Builder()
        Instantiates a new builder.
      • Builder

        public Builder​(java.lang.String bucketId)
        Instantiates a new builder with required properties.
        Parameters:
        bucketId - the bucketId
    • Method Detail

      • build

        public UpdateBucketOptions build()
        Builds a UpdateBucketOptions.
        Returns:
        the new UpdateBucketOptions instance
      • addTags

        public UpdateBucketOptions.Builder addTags​(java.lang.String tags)
        Adds an tags to tags.
        Parameters:
        tags - the new tags
        Returns:
        the UpdateBucketOptions builder
      • bucketId

        public UpdateBucketOptions.Builder bucketId​(java.lang.String bucketId)
        Set the bucketId.
        Parameters:
        bucketId - the bucketId
        Returns:
        the UpdateBucketOptions builder
      • accessKey

        public UpdateBucketOptions.Builder accessKey​(java.lang.String accessKey)
        Set the accessKey.
        Parameters:
        accessKey - the accessKey
        Returns:
        the UpdateBucketOptions builder
      • bucketDisplayName

        public UpdateBucketOptions.Builder bucketDisplayName​(java.lang.String bucketDisplayName)
        Set the bucketDisplayName.
        Parameters:
        bucketDisplayName - the bucketDisplayName
        Returns:
        the UpdateBucketOptions builder
      • description

        public UpdateBucketOptions.Builder description​(java.lang.String description)
        Set the description.
        Parameters:
        description - the description
        Returns:
        the UpdateBucketOptions builder
      • secretKey

        public UpdateBucketOptions.Builder secretKey​(java.lang.String secretKey)
        Set the secretKey.
        Parameters:
        secretKey - the secretKey
        Returns:
        the UpdateBucketOptions builder
      • tags

        public UpdateBucketOptions.Builder tags​(java.util.List<java.lang.String> tags)
        Set the tags. Existing tags will be replaced.
        Parameters:
        tags - the tags
        Returns:
        the UpdateBucketOptions builder
      • authInstanceId

        public UpdateBucketOptions.Builder authInstanceId​(java.lang.String authInstanceId)
        Set the authInstanceId.
        Parameters:
        authInstanceId - the authInstanceId
        Returns:
        the UpdateBucketOptions builder