Interface PutBucketAbacRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<PutBucketAbacRequest.Builder,,PutBucketAbacRequest> S3Request.Builder,SdkBuilder<PutBucketAbacRequest.Builder,,PutBucketAbacRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
PutBucketAbacRequest
-
Method Summary
Modifier and TypeMethodDescriptiondefault PutBucketAbacRequest.BuilderabacStatus(Consumer<AbacStatus.Builder> abacStatus) The ABAC status of the general purpose bucket.abacStatus(AbacStatus abacStatus) The ABAC status of the general purpose bucket.The name of the general purpose bucket.checksumAlgorithm(String checksumAlgorithm) Indicates the algorithm that you want Amazon S3 to use to create the checksum.checksumAlgorithm(ChecksumAlgorithm checksumAlgorithm) Indicates the algorithm that you want Amazon S3 to use to create the checksum.contentMD5(String contentMD5) The MD5 hash of thePutBucketAbacrequest body.expectedBucketOwner(String expectedBucketOwner) The Amazon Web Services account ID of the general purpose bucket's owner.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 name of the general purpose bucket.
- Parameters:
bucket- The name of the general purpose bucket.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contentMD5
The MD5 hash of the
PutBucketAbacrequest body.For requests made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web Services SDKs, this field is calculated automatically.
- Parameters:
contentMD5- The MD5 hash of thePutBucketAbacrequest body.For requests made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web Services SDKs, this field is calculated automatically.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
checksumAlgorithm
Indicates the algorithm that you want Amazon S3 to use to create the checksum. For more information, see Checking object integrity in the Amazon S3 User Guide.
- Parameters:
checksumAlgorithm- Indicates the algorithm that you want Amazon S3 to use to create the checksum. For more information, see Checking object integrity in the Amazon S3 User Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
checksumAlgorithm
Indicates the algorithm that you want Amazon S3 to use to create the checksum. For more information, see Checking object integrity in the Amazon S3 User Guide.
- Parameters:
checksumAlgorithm- Indicates the algorithm that you want Amazon S3 to use to create the checksum. For more information, see Checking object integrity in the Amazon S3 User Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
expectedBucketOwner
The Amazon Web Services account ID of the general purpose bucket's owner.
- Parameters:
expectedBucketOwner- The Amazon Web Services account ID of the general purpose bucket's owner.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
abacStatus
The ABAC status of the general purpose bucket. When ABAC is enabled for the general purpose bucket, you can use tags to manage access to the general purpose buckets as well as for cost tracking purposes. When ABAC is disabled for the general purpose buckets, you can only use tags for cost tracking purposes. For more information, see Using tags with S3 general purpose buckets.
- Parameters:
abacStatus- The ABAC status of the general purpose bucket. When ABAC is enabled for the general purpose bucket, you can use tags to manage access to the general purpose buckets as well as for cost tracking purposes. When ABAC is disabled for the general purpose buckets, you can only use tags for cost tracking purposes. For more information, see Using tags with S3 general purpose buckets.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
abacStatus
The ABAC status of the general purpose bucket. When ABAC is enabled for the general purpose bucket, you can use tags to manage access to the general purpose buckets as well as for cost tracking purposes. When ABAC is disabled for the general purpose buckets, you can only use tags for cost tracking purposes. For more information, see Using tags with S3 general purpose buckets.
This is a convenience method that creates an instance of theAbacStatus.Builderavoiding the need to create one manually viaAbacStatus.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toabacStatus(AbacStatus).- Parameters:
abacStatus- a consumer that will call methods onAbacStatus.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
PutBucketAbacRequest.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
PutBucketAbacRequest.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.
-