java.lang.Object | |
↳ | org.mule.module.s3.model.BucketVersioningConfiguration |
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
String | ENABLED | S3 bucket versioning status indicating that versioning is enabled for a bucket. | |||||||||
String | OFF | S3 bucket versioning status indicating that versioning is off for a bucket. | |||||||||
String | SUSPENDED | S3 bucket versioning status indicating that versioning is suspended for a bucket. | |||||||||
long | serialVersionUID |
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
isMfaDeleteEnabled | Indicates if the optional Multi-Factor Authentication Delete control is enabled for this bucket versioning configuration. | ||||||||||
status | The current status of versioning |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Creates a new bucket versioning configuration object which defaults to
OFF status. | |||||||||||
Creates a new bucket versioning configuration object with the specified status.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns the current status of versioning for this bucket versioning configuration object, indicating if versioning is enabled or not for a bucket.
| |||||||||||
Returns true if Multi-Factor Authentication (MFA) Delete is enabled for this bucket versioning configuration, false if it isn't enabled, and null if no information is
available about the status of MFADelete.
| |||||||||||
Sets the status of Multi-Factor Authentication (MFA) Delete for a bucket.
| |||||||||||
Sets the desired status of versioning for this bucket versioning configuration object.
| |||||||||||
Sets the status of Multi-Factor Authentication (MFA) Delete for a bucket, and returns this object so that additional method calls may be chained together.
| |||||||||||
Sets the desired status of versioning for this bucket versioning configuration object, and returns this object so that additional method calls may be chained together.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
S3 bucket versioning status indicating that versioning is enabled for a bucket.
S3 bucket versioning status indicating that versioning is off for a bucket. By default, all buckets start off with versioning off. Once you enable versioning for a bucket, you can never set the status back to "Off". You can only suspend versioning on a bucket once you've enabled.
S3 bucket versioning status indicating that versioning is suspended for a bucket. Use the "Suspended" status when you want to disable versioning on a bucket that has versioning enabled.
Indicates if the optional Multi-Factor Authentication Delete control is enabled for this bucket versioning configuration.
The current status of versioning
Creates a new bucket versioning configuration object which defaults to OFF
status.
Returns true if Multi-Factor Authentication (MFA) Delete is enabled for this bucket versioning configuration, false if it isn't enabled, and null if no information is available about the status of MFADelete.
When MFA Delete is enabled, object versions can only be permanently deleted when the bucket owner passes in, as part of a delete version request, an MFA token from the hardware token generator associated with their AWS account. By default, MFA Delete is not enabled. When enabling or disabling MFA Delete controls, you must also supply an MFA token from the hardware token generator.Sets the status of Multi-Factor Authentication (MFA) Delete for a bucket. When MFA Delete is enabled, object versions can only be permanently deleted when the bucket owner passes in, as part of a delete version request, an MFA token from the hardware token generator associated with their AWS account.
By default, MFA Delete is not enabled. When enabling or disabling MFA Delete controls, you must also supply an MFA token from the hardware token generator as part of the request.mfaDeleteEnabled | True if the Multi-Factor Authentication (MFA) Delete is being enabled enabled, false if it is being disabled. |
---|
Sets the desired status of versioning for this bucket versioning configuration object.
Note that once versioning has been enabled for a bucket, its status can only besuspended
and can never be set back to off
.status | The desired status of versioning for this bucket versioning configuration. |
---|
Sets the status of Multi-Factor Authentication (MFA) Delete for a bucket, and returns this object so that additional method calls may be chained together. When MFA Delete is enabled, object versions can only be permanently deleted when the bucket owner passes in, as part of a delete version request, an MFA token from the hardware token generator associated with their AWS account.
By default, MFA Delete is not enabled. When enabling or disabling MFA Delete controls, you must also supply an MFA token from the hardware token generator as part of the request.mfaDeleteEnabled | True if the Multi-Factor Authentication (MFA) Delete is being enabled enabled, false if it is being disabled. |
---|
Sets the desired status of versioning for this bucket versioning configuration object, and returns this object so that additional method calls may be chained together.
Note that once versioning has been enabled for a bucket, its status can only besuspended
and can never be set back to off
.status | The desired status of versioning for this bucket versioning configuration. |
---|