Represents an S3 Bucket Versioning Configuration.
Contains the buckets VersioningStatus - Off, Enabled, Suspended.
Whether an MFADelete has been enabled for the bucket.
Namespace: Amazon.S3.ModelAssembly: AWSSDK (in AWSSDK.dll) Version: 1.4.10.0 (1.4.10.0)
Syntax
| C# | Visual Basic | Visual C++ |
[SerializableAttribute] public class S3BucketVersioningConfig
<SerializableAttribute> _ Public Class S3BucketVersioningConfig
[SerializableAttribute] public ref class S3BucketVersioningConfig
Members
| All Members | Constructors | Properties | Methods |
| Member | Description | |
|---|---|---|
| S3BucketVersioningConfig()()()() | Initializes a new instance of the S3BucketVersioningConfig class | |
| EnableMfaDelete |
Gets and Sets the EnableMfaDelete property.
Specifies whether MFA Delete is enabled on this S3 Bucket.
If this property is set, please ensure that the
SetBucketVersioningRequest's MfaCodes property is set with
the Serial of and Token on the MFA device.
| |
| Equals(Object) | (Inherited from Object.) | |
| GetHashCode()()()() |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
| GetType()()()() |
Gets the Type of the current instance.
(Inherited from Object.) | |
| IsSetEnableMfaDelete()()()() |
Checks if EnableMfaDelete property is set.
| |
| Status |
Gets and sets the Status property.
Accepted Values are Off, Enabled, Suspended
| |
| ToString()()()() |
Provides the XML representation of the S3BucketVersioningConfig
(Overrides Object..::..ToString()()()().) | |
| WithEnableMfaDelete(Boolean) |
Sets the EnableMfaDelete property. If this property is set,
please ensure that the SetBucketVersioningRequest's MfaCodes
property is set with the Serial of and Token on the MFA device.
| |
| WithStatus(String) |
Sets the Status property.
|