Class AwsS3BucketBucketVersioningConfiguration
- java.lang.Object
-
- software.amazon.awssdk.services.securityhub.model.AwsS3BucketBucketVersioningConfiguration
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<AwsS3BucketBucketVersioningConfiguration.Builder,AwsS3BucketBucketVersioningConfiguration>
@Generated("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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceAwsS3BucketBucketVersioningConfiguration.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AwsS3BucketBucketVersioningConfiguration.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()BooleanisMfaDeleteEnabled()Specifies whether MFA delete is currently enabled in the S3 bucket versioning configuration.List<SdkField<?>>sdkFields()static Class<? extends AwsS3BucketBucketVersioningConfiguration.Builder>serializableBuilderClass()Stringstatus()The versioning status of the S3 bucket.AwsS3BucketBucketVersioningConfiguration.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
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
-
isMfaDeleteEnabled
public 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.
- Returns:
- 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.
-
status
public final String status()
The versioning status of the S3 bucket. Valid values are
EnabledorSuspended.- Returns:
- The versioning status of the S3 bucket. Valid values are
EnabledorSuspended.
-
toBuilder
public AwsS3BucketBucketVersioningConfiguration.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<AwsS3BucketBucketVersioningConfiguration.Builder,AwsS3BucketBucketVersioningConfiguration>
-
builder
public static AwsS3BucketBucketVersioningConfiguration.Builder builder()
-
serializableBuilderClass
public static Class<? extends AwsS3BucketBucketVersioningConfiguration.Builder> serializableBuilderClass()
-
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.
-
-