Class PutBucketVersioningRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.s3control.model.S3ControlRequest
-
- software.amazon.awssdk.services.s3control.model.PutBucketVersioningRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<PutBucketVersioningRequest.Builder,PutBucketVersioningRequest>
@Generated("software.amazon.awssdk:codegen") public final class PutBucketVersioningRequest extends S3ControlRequest implements ToCopyableBuilder<PutBucketVersioningRequest.Builder,PutBucketVersioningRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfacePutBucketVersioningRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringaccountId()The Amazon Web Services account ID of the S3 on Outposts bucket.Stringbucket()The S3 on Outposts bucket to set the versioning state for.static PutBucketVersioningRequest.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringmfa()The concatenation of the authentication device's serial number, a space, and the value that is displayed on your authentication device.List<SdkField<?>>sdkFields()static Class<? extends PutBucketVersioningRequest.Builder>serializableBuilderClass()PutBucketVersioningRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.VersioningConfigurationversioningConfiguration()The root-level tag for theVersioningConfigurationparameters.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
accountId
public final String accountId()
The Amazon Web Services account ID of the S3 on Outposts bucket.
- Returns:
- The Amazon Web Services account ID of the S3 on Outposts bucket.
-
bucket
public final String bucket()
The S3 on Outposts bucket to set the versioning state for.
- Returns:
- The S3 on Outposts bucket to set the versioning state for.
-
mfa
public final String mfa()
The concatenation of the authentication device's serial number, a space, and the value that is displayed on your authentication device.
- Returns:
- The concatenation of the authentication device's serial number, a space, and the value that is displayed on your authentication device.
-
versioningConfiguration
public final VersioningConfiguration versioningConfiguration()
The root-level tag for the
VersioningConfigurationparameters.- Returns:
- The root-level tag for the
VersioningConfigurationparameters.
-
toBuilder
public PutBucketVersioningRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<PutBucketVersioningRequest.Builder,PutBucketVersioningRequest>- Specified by:
toBuilderin classS3ControlRequest
-
builder
public static PutBucketVersioningRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends PutBucketVersioningRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
-