WasabiBucketCompliance Type
Represents a bucket's compliance settings.
Remarks
This type is used to hold a bucket's compliance settings.
Refer to the UpdateCompliance documentation for more information about compliance.
Fields
| |
ConditionalHold String |
Signifies whether new objects created in a bucket will be placed under conditional hold.
Setting this to "false" will not release objects from their conditional holds, it will only prevent conditional holds from being placed on any newly-created objects.
Refer to the UpdateCompliance documentation for more information about compliance.
|
DeleteAfterRetention String |
Whether or not objects should be deleted immediately once their retention period expires.
Refer to the UpdateCompliance documentation for more information about compliance.
|
IsLocked String |
Signifies whether the current bucket's compliance settings are locked or not.
Refer to the UpdateCompliance documentation for more information about compliance.
|
LockTime String |
Specifies when a bucket's compliance settings are locked.
When a bucket's compliance settings are locked, certain compliance settings cannot be changed any further. Wasabi defaults this value to "off"; other valid values are "now" to immediately lock the compliance settings, or an ISO 8601 date-time string.
Important: Locking the compliance settings on a bucket is a one-way action. You cannot unlock a bucket's compliance settings without contacting the Wasabi support team. Refer to the Wasabi documentation for more information.
Refer to the UpdateCompliance documentation for more information about compliance.
|
RetentionDays Integer |
Specifies the minimum number of days objects must be retained before they can be deleted.
Refer to the UpdateCompliance documentation for more information about compliance.
|
Status String |
Whether or not the a bucket has compliance settings enabled.
Setting this to "enabled" and calling UpdateCompliance will enable compliance for the current bucket. If this is set to "disabled", all other bucket compliance settings will be ignored when UpdateCompliance is called.
Refer to the UpdateCompliance documentation for more information about compliance.
|
Constructors
constructor Create();
constructor Create(valStatus: String; valLockTime: String; valRetentionDays: Integer; valConditionalHold: String; valDeleteAfterRetention: String);