Interface CreateBucketMetadataConfigurationRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateBucketMetadataConfigurationRequest.Builder,CreateBucketMetadataConfigurationRequest>,S3Request.Builder,SdkBuilder<CreateBucketMetadataConfigurationRequest.Builder,CreateBucketMetadataConfigurationRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateBucketMetadataConfigurationRequest
@Mutable @NotThreadSafe public static interface CreateBucketMetadataConfigurationRequest.Builder extends S3Request.Builder, SdkPojo, CopyableBuilder<CreateBucketMetadataConfigurationRequest.Builder,CreateBucketMetadataConfigurationRequest>
-
-
Method Summary
-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.s3.model.S3Request.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
bucket
CreateBucketMetadataConfigurationRequest.Builder bucket(String bucket)
The general purpose bucket that you want to create the metadata configuration for.
- Parameters:
bucket- The general purpose bucket that you want to create the metadata configuration for.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contentMD5
CreateBucketMetadataConfigurationRequest.Builder contentMD5(String contentMD5)
The
Content-MD5header for the metadata configuration.- Parameters:
contentMD5- TheContent-MD5header for the metadata configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
checksumAlgorithm
CreateBucketMetadataConfigurationRequest.Builder checksumAlgorithm(String checksumAlgorithm)
The checksum algorithm to use with your metadata configuration.
- Parameters:
checksumAlgorithm- The checksum algorithm to use with your metadata configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ChecksumAlgorithm,ChecksumAlgorithm
-
checksumAlgorithm
CreateBucketMetadataConfigurationRequest.Builder checksumAlgorithm(ChecksumAlgorithm checksumAlgorithm)
The checksum algorithm to use with your metadata configuration.
- Parameters:
checksumAlgorithm- The checksum algorithm to use with your metadata configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ChecksumAlgorithm,ChecksumAlgorithm
-
metadataConfiguration
CreateBucketMetadataConfigurationRequest.Builder metadataConfiguration(MetadataConfiguration metadataConfiguration)
The contents of your metadata configuration.
- Parameters:
metadataConfiguration- The contents of your metadata configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metadataConfiguration
default CreateBucketMetadataConfigurationRequest.Builder metadataConfiguration(Consumer<MetadataConfiguration.Builder> metadataConfiguration)
The contents of your metadata configuration.
This is a convenience method that creates an instance of theMetadataConfiguration.Builderavoiding the need to create one manually viaMetadataConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tometadataConfiguration(MetadataConfiguration).- Parameters:
metadataConfiguration- a consumer that will call methods onMetadataConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
metadataConfiguration(MetadataConfiguration)
-
expectedBucketOwner
CreateBucketMetadataConfigurationRequest.Builder expectedBucketOwner(String expectedBucketOwner)
The expected owner of the general purpose bucket that corresponds to your metadata configuration.
- Parameters:
expectedBucketOwner- The expected owner of the general purpose bucket that corresponds to your metadata configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateBucketMetadataConfigurationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateBucketMetadataConfigurationRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-