@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetBucketVersioningResult extends AmazonWebServiceResult<S3ControlResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
GetBucketVersioningResult() |
| Modifier and Type | Method and Description |
|---|---|
GetBucketVersioningResult |
clone() |
boolean |
equals(Object obj) |
String |
getMFADelete()
Specifies whether MFA delete is enabled in the bucket versioning configuration.
|
String |
getStatus()
The versioning state of the S3 on Outposts bucket.
|
int |
hashCode() |
void |
setMFADelete(String mFADelete)
Specifies whether MFA delete is enabled in the bucket versioning configuration.
|
void |
setStatus(String status)
The versioning state of the S3 on Outposts bucket.
|
String |
toString()
Returns a string representation of this object.
|
GetBucketVersioningResult |
withMFADelete(MFADeleteStatus mFADelete)
Specifies whether MFA delete is enabled in the bucket versioning configuration.
|
GetBucketVersioningResult |
withMFADelete(String mFADelete)
Specifies whether MFA delete is enabled in the bucket versioning configuration.
|
GetBucketVersioningResult |
withStatus(BucketVersioningStatus status)
The versioning state of the S3 on Outposts bucket.
|
GetBucketVersioningResult |
withStatus(String status)
The versioning state of the S3 on Outposts bucket.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic void setStatus(String status)
The versioning state of the S3 on Outposts bucket.
status - The versioning state of the S3 on Outposts bucket.BucketVersioningStatuspublic String getStatus()
The versioning state of the S3 on Outposts bucket.
BucketVersioningStatuspublic GetBucketVersioningResult withStatus(String status)
The versioning state of the S3 on Outposts bucket.
status - The versioning state of the S3 on Outposts bucket.BucketVersioningStatuspublic GetBucketVersioningResult withStatus(BucketVersioningStatus status)
The versioning state of the S3 on Outposts bucket.
status - The versioning state of the S3 on Outposts bucket.BucketVersioningStatuspublic void setMFADelete(String mFADelete)
Specifies whether MFA delete is enabled in the bucket versioning configuration. This element is returned only if the bucket has been configured with MFA delete. If MFA delete has never been configured for the bucket, this element is not returned.
mFADelete - Specifies whether MFA delete is enabled in the bucket versioning configuration. This element is returned
only if the bucket has been configured with MFA delete. If MFA delete has never been configured for the
bucket, this element is not returned.MFADeleteStatuspublic String getMFADelete()
Specifies whether MFA delete is enabled in the bucket versioning configuration. This element is returned only if the bucket has been configured with MFA delete. If MFA delete has never been configured for the bucket, this element is not returned.
MFADeleteStatuspublic GetBucketVersioningResult withMFADelete(String mFADelete)
Specifies whether MFA delete is enabled in the bucket versioning configuration. This element is returned only if the bucket has been configured with MFA delete. If MFA delete has never been configured for the bucket, this element is not returned.
mFADelete - Specifies whether MFA delete is enabled in the bucket versioning configuration. This element is returned
only if the bucket has been configured with MFA delete. If MFA delete has never been configured for the
bucket, this element is not returned.MFADeleteStatuspublic GetBucketVersioningResult withMFADelete(MFADeleteStatus mFADelete)
Specifies whether MFA delete is enabled in the bucket versioning configuration. This element is returned only if the bucket has been configured with MFA delete. If MFA delete has never been configured for the bucket, this element is not returned.
mFADelete - Specifies whether MFA delete is enabled in the bucket versioning configuration. This element is returned
only if the bucket has been configured with MFA delete. If MFA delete has never been configured for the
bucket, this element is not returned.MFADeleteStatuspublic String toString()
toString in class ObjectObject.toString()public GetBucketVersioningResult clone()