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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description PutBucketVersioningRequest.BuilderaccountId(String accountId)The Amazon Web Services account ID of the S3 on Outposts bucket.PutBucketVersioningRequest.Builderbucket(String bucket)The S3 on Outposts bucket to set the versioning state for.PutBucketVersioningRequest.Buildermfa(String mfa)The concatenation of the authentication device's serial number, a space, and the value that is displayed on your authentication device.PutBucketVersioningRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)PutBucketVersioningRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)default PutBucketVersioningRequest.BuilderversioningConfiguration(Consumer<VersioningConfiguration.Builder> versioningConfiguration)The root-level tag for theVersioningConfigurationparameters.PutBucketVersioningRequest.BuilderversioningConfiguration(VersioningConfiguration versioningConfiguration)The root-level tag for theVersioningConfigurationparameters.-
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 Detail
-
accountId
PutBucketVersioningRequest.Builder accountId(String 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
PutBucketVersioningRequest.Builder bucket(String 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
PutBucketVersioningRequest.Builder mfa(String 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:
versioningConfiguration(VersioningConfiguration)
-
overrideConfiguration
PutBucketVersioningRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
PutBucketVersioningRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-