public static interface VersioningConfiguration.Builder extends CopyableBuilder<VersioningConfiguration.Builder,VersioningConfiguration>
Modifier and Type | Method and Description |
---|---|
VersioningConfiguration.Builder |
mfaDelete(MFADelete mfaDelete)
Specifies whether MFA delete is enabled in the bucket versioning configuration.
|
VersioningConfiguration.Builder |
mfaDelete(String mfaDelete)
Specifies whether MFA delete is enabled in the bucket versioning configuration.
|
VersioningConfiguration.Builder |
status(BucketVersioningStatus status)
The versioning state of the bucket.
|
VersioningConfiguration.Builder |
status(String status)
The versioning state of the bucket.
|
copy
apply, build
VersioningConfiguration.Builder mfaDelete(String mfaDelete)
mfaDelete
- Specifies whether MFA delete is enabled in the bucket versioning configuration. This element is only
returned if the bucket has been configured with MFA delete. If the bucket has never been so
configured, this element is not returned.MFADelete
,
MFADelete
VersioningConfiguration.Builder mfaDelete(MFADelete mfaDelete)
mfaDelete
- Specifies whether MFA delete is enabled in the bucket versioning configuration. This element is only
returned if the bucket has been configured with MFA delete. If the bucket has never been so
configured, this element is not returned.MFADelete
,
MFADelete
VersioningConfiguration.Builder status(String status)
status
- The versioning state of the bucket.BucketVersioningStatus
,
BucketVersioningStatus
VersioningConfiguration.Builder status(BucketVersioningStatus status)
status
- The versioning state of the bucket.BucketVersioningStatus
,
BucketVersioningStatus
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.