Interface PutBucketVersioningRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<PutBucketVersioningRequest.Builder,
,PutBucketVersioningRequest> S3ControlRequest.Builder
,SdkBuilder<PutBucketVersioningRequest.Builder,
,PutBucketVersioningRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
PutBucketVersioningRequest
public static interface PutBucketVersioningRequest.Builder
extends S3ControlRequest.Builder, SdkPojo, CopyableBuilder<PutBucketVersioningRequest.Builder,PutBucketVersioningRequest>
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Web Services account ID of the S3 on Outposts bucket.The S3 on Outposts bucket to set the versioning state for.The concatenation of the authentication device's serial number, a space, and the value that is displayed on your authentication device.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.versioningConfiguration
(Consumer<VersioningConfiguration.Builder> versioningConfiguration) The root-level tag for theVersioningConfiguration
parameters.versioningConfiguration
(VersioningConfiguration versioningConfiguration) The root-level tag for theVersioningConfiguration
parameters.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.s3control.model.S3ControlRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
accountId
The Amazon Web Services account ID of the S3 on Outposts bucket.
- Parameters:
accountId
- The Amazon Web Services account ID of the S3 on Outposts bucket.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
bucket
The S3 on Outposts bucket to set the versioning state for.
- Parameters:
bucket
- The S3 on Outposts bucket to set the versioning state for.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
mfa
The concatenation of the authentication device's serial number, a space, and the value that is displayed on your authentication device.
- Parameters:
mfa
- The concatenation of the authentication device's serial number, a space, and the value that is displayed on your authentication device.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
versioningConfiguration
PutBucketVersioningRequest.Builder versioningConfiguration(VersioningConfiguration versioningConfiguration) The root-level tag for the
VersioningConfiguration
parameters.- Parameters:
versioningConfiguration
- The root-level tag for theVersioningConfiguration
parameters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
versioningConfiguration
default PutBucketVersioningRequest.Builder versioningConfiguration(Consumer<VersioningConfiguration.Builder> versioningConfiguration) The root-level tag for the
This is a convenience method that creates an instance of theVersioningConfiguration
parameters.VersioningConfiguration.Builder
avoiding the need to create one manually viaVersioningConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toversioningConfiguration(VersioningConfiguration)
.- Parameters:
versioningConfiguration
- a consumer that will call methods onVersioningConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
PutBucketVersioningRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
PutBucketVersioningRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-