@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, setSdkResponseMetadata
public void setStatus(String status)
The versioning state of the S3 on Outposts bucket.
status
- The versioning state of the S3 on Outposts bucket.BucketVersioningStatus
public String getStatus()
The versioning state of the S3 on Outposts bucket.
BucketVersioningStatus
public GetBucketVersioningResult withStatus(String status)
The versioning state of the S3 on Outposts bucket.
status
- The versioning state of the S3 on Outposts bucket.BucketVersioningStatus
public GetBucketVersioningResult withStatus(BucketVersioningStatus status)
The versioning state of the S3 on Outposts bucket.
status
- The versioning state of the S3 on Outposts bucket.BucketVersioningStatus
public 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.MFADeleteStatus
public 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.
MFADeleteStatus
public 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.MFADeleteStatus
public 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.MFADeleteStatus
public String toString()
toString
in class Object
Object.toString()
public GetBucketVersioningResult clone()