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
Modifier and TypeMethodDescriptionThe general purpose bucket that you want to create the metadata configuration for.checksumAlgorithm(String checksumAlgorithm) The checksum algorithm to use with your metadata configuration.checksumAlgorithm(ChecksumAlgorithm checksumAlgorithm) The checksum algorithm to use with your metadata configuration.contentMD5(String contentMD5) TheContent-MD5header for the metadata configuration.expectedBucketOwner(String expectedBucketOwner) The expected owner of the general purpose bucket that corresponds to your metadata configuration.metadataConfiguration(Consumer<MetadataConfiguration.Builder> metadataConfiguration) The contents of your metadata configuration.metadataConfiguration(MetadataConfiguration metadataConfiguration) The contents of your metadata configuration.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.s3.model.S3Request.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
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
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
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
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:
-
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:
-
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) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateBucketMetadataConfigurationRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-