The parameters to control versioning on a bucket.

C# |
public class SetBucketVersioningRequest : S3Request

All Members | Constructors | Methods | Properties | ||
Icon | Member | Description |
---|---|---|
![]() | SetBucketVersioningRequest()()()() | Initializes a new instance of the SetBucketVersioningRequest class |
![]() | AddHeader(String, String) |
Adds the header to the collection of headers for the request.
(Inherited from S3Request.) |
![]() | AddHeaders(NameValueCollection) |
Adds all of the specified key/value pairs into the request headers collection.
(Inherited from S3Request.) |
![]() | BucketName |
The name of the bucket to be updated.
|
![]() | 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.) |
![]() | InputStream |
Input stream for the request; content for the request will be read from the stream.
(Inherited from S3Request.) |
![]() | MfaCodes |
The MfaCodes Tuple associates the Serial Number
and the current Token/Code displayed on the
Multi-Factor Authentication device associated with
your AWS Account
|
![]() | ReadWriteTimeout |
Overrides the default HttpWebRequest ReadWriteTimeout value.
(Inherited from S3Request.) |
![]() | Timeout |
Overrides the default HttpWebRequest timeout value.
(Inherited from S3Request.) |
![]() | ToString()()()() | (Inherited from S3Request.) |
![]() | VersioningConfig |
The versioning configuration to apply to the bucket.
|
![]() | WithBucketName(String) | Obsolete.
Sets the name of the bucket to be updated.
|
![]() | WithInputStream(Stream) | Obsolete.
Sets an input stream for the request; content for the request will be read from the stream.
(Inherited from S3Request.) |
![]() | WithMfaCodes(String, String) | Obsolete.
The MfaCodes Tuple associates the Serial Number
and the current Token/Code displayed on the
Multi-Factor Authentication device associated with
your AWS Account
|
![]() | WithReadWriteTimeout(Int32) | Obsolete.
Overrides the default HttpWebRequest ReadWriteTimeout value.
(Inherited from S3Request.) |
![]() | WithTimeout(Int32) | Obsolete.
Overrides the default HttpWebRequest timeout value.
(Inherited from S3Request.) |
![]() | WithVersioningConfig(S3BucketVersioningConfig) | Obsolete.
Sets the versioning configuration to apply to the bucket.
|

If you want to enable the use of a multi-factor authentication device
on this bucket, please set the EnableMfaDelete property of VersioningConfig.
If EnableMfaDelete is set to true, the MfaCodes property needs to be set with the
Serial number and Current Token displayed on the MFA device.