@Generated(value="software.amazon.awssdk:codegen") public final class VersioningConfiguration extends Object implements SdkPojo, Serializable, ToCopyableBuilder<VersioningConfiguration.Builder,VersioningConfiguration>
Describes the versioning state of an Amazon S3 on Outposts bucket. For more information, see PutBucketVersioning.
| Modifier and Type | Class and Description |
|---|---|
static interface |
VersioningConfiguration.Builder |
| Modifier and Type | Method and Description |
|---|---|
static VersioningConfiguration.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
MFADelete |
mfaDelete()
Specifies whether MFA delete is enabled or disabled in the bucket versioning configuration for the S3 on Outposts
bucket.
|
String |
mfaDeleteAsString()
Specifies whether MFA delete is enabled or disabled in the bucket versioning configuration for the S3 on Outposts
bucket.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends VersioningConfiguration.Builder> |
serializableBuilderClass() |
BucketVersioningStatus |
status()
Sets the versioning state of the S3 on Outposts bucket.
|
String |
statusAsString()
Sets the versioning state of the S3 on Outposts bucket.
|
VersioningConfiguration.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final MFADelete mfaDelete()
Specifies whether MFA delete is enabled or disabled in the bucket versioning configuration for the S3 on Outposts bucket.
If the service returns an enum value that is not available in the current SDK version, mfaDelete will
return MFADelete.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
mfaDeleteAsString().
MFADeletepublic final String mfaDeleteAsString()
Specifies whether MFA delete is enabled or disabled in the bucket versioning configuration for the S3 on Outposts bucket.
If the service returns an enum value that is not available in the current SDK version, mfaDelete will
return MFADelete.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
mfaDeleteAsString().
MFADeletepublic final BucketVersioningStatus status()
Sets the versioning state of the S3 on Outposts bucket.
If the service returns an enum value that is not available in the current SDK version, status will
return BucketVersioningStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from statusAsString().
BucketVersioningStatuspublic final String statusAsString()
Sets the versioning state of the S3 on Outposts bucket.
If the service returns an enum value that is not available in the current SDK version, status will
return BucketVersioningStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from statusAsString().
BucketVersioningStatuspublic VersioningConfiguration.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<VersioningConfiguration.Builder,VersioningConfiguration>public static VersioningConfiguration.Builder builder()
public static Class<? extends VersioningConfiguration.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2022. All rights reserved.