@Generated(value="software.amazon.awssdk:codegen") public final class AwsS3BucketBucketVersioningConfiguration extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AwsS3BucketBucketVersioningConfiguration.Builder,AwsS3BucketBucketVersioningConfiguration>
Describes the versioning state of an S3 bucket.
| Modifier and Type | Class and Description |
|---|---|
static interface |
AwsS3BucketBucketVersioningConfiguration.Builder |
| Modifier and Type | Method and Description |
|---|---|
static AwsS3BucketBucketVersioningConfiguration.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Boolean |
isMfaDeleteEnabled()
Specifies whether MFA delete is currently enabled in the S3 bucket versioning configuration.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends AwsS3BucketBucketVersioningConfiguration.Builder> |
serializableBuilderClass() |
String |
status()
The versioning status of the S3 bucket.
|
AwsS3BucketBucketVersioningConfiguration.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final Boolean isMfaDeleteEnabled()
Specifies whether MFA delete is currently enabled in the S3 bucket versioning configuration. If the S3 bucket was never configured with MFA delete, then this attribute is not included.
public final String status()
The versioning status of the S3 bucket. Valid values are Enabled or Suspended.
Enabled or Suspended.public AwsS3BucketBucketVersioningConfiguration.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<AwsS3BucketBucketVersioningConfiguration.Builder,AwsS3BucketBucketVersioningConfiguration>public static AwsS3BucketBucketVersioningConfiguration.Builder builder()
public static Class<? extends AwsS3BucketBucketVersioningConfiguration.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.