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 theVersioningConfigurationparameters.versioningConfiguration(VersioningConfiguration versioningConfiguration) The root-level tag for theVersioningConfigurationparameters.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.s3control.model.S3ControlRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods 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
VersioningConfigurationparameters.- Parameters:
versioningConfiguration- The root-level tag for theVersioningConfigurationparameters.- 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 theVersioningConfigurationparameters.VersioningConfiguration.Builderavoiding the need to create one manually viaVersioningConfiguration.builder().When the
Consumercompletes,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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.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.
-