Interface PutBucketAbacRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<PutBucketAbacRequest.Builder,PutBucketAbacRequest>,S3Request.Builder,SdkBuilder<PutBucketAbacRequest.Builder,PutBucketAbacRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- PutBucketAbacRequest
@Mutable @NotThreadSafe public static interface PutBucketAbacRequest.Builder extends S3Request.Builder, SdkPojo, CopyableBuilder<PutBucketAbacRequest.Builder,PutBucketAbacRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default PutBucketAbacRequest.BuilderabacStatus(Consumer<AbacStatus.Builder> abacStatus)The ABAC status of the general purpose bucket.PutBucketAbacRequest.BuilderabacStatus(AbacStatus abacStatus)The ABAC status of the general purpose bucket.PutBucketAbacRequest.Builderbucket(String bucket)The name of the general purpose bucket.PutBucketAbacRequest.BuilderchecksumAlgorithm(String checksumAlgorithm)Indicates the algorithm that you want Amazon S3 to use to create the checksum.PutBucketAbacRequest.BuilderchecksumAlgorithm(ChecksumAlgorithm checksumAlgorithm)Indicates the algorithm that you want Amazon S3 to use to create the checksum.PutBucketAbacRequest.BuildercontentMD5(String contentMD5)The MD5 hash of thePutBucketAbacrequest body.PutBucketAbacRequest.BuilderexpectedBucketOwner(String expectedBucketOwner)The Amazon Web Services account ID of the general purpose bucket's owner.PutBucketAbacRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)PutBucketAbacRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)-
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
PutBucketAbacRequest.Builder bucket(String 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
PutBucketAbacRequest.Builder contentMD5(String 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
PutBucketAbacRequest.Builder checksumAlgorithm(String 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,ChecksumAlgorithm
-
checksumAlgorithm
PutBucketAbacRequest.Builder checksumAlgorithm(ChecksumAlgorithm 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,ChecksumAlgorithm
-
expectedBucketOwner
PutBucketAbacRequest.Builder expectedBucketOwner(String 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
PutBucketAbacRequest.Builder abacStatus(AbacStatus 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
default PutBucketAbacRequest.Builder abacStatus(Consumer<AbacStatus.Builder> 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:
abacStatus(AbacStatus)
-
overrideConfiguration
PutBucketAbacRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
PutBucketAbacRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-