WasabiObjectCompliance Type
Represents an object's compliance settings.
Remarks
This type is used to hold an object's compliance settings.
Refer to the UpdateCompliance documentation for more information about compliance.
Fields
| |
ConditionalHold String |
Specifies whether an object is under conditional hold.
An object under conditional hold cannot be deleted, but can be removed from conditional hold by setting this to "false" and calling UpdateCompliance for that object. Once an object is released from conditional hold, its retention period begins, and it cannot be deleted until its retention time has passed. An object cannot be restored to conditional hold.
Refer to the UpdateCompliance documentation for more information about compliance.
|
Hash String |
The SHA-256 hash of an object, intended to be used to verify that it hasn't changed.
|
LegalHold String |
Specifies whether or not an object is under legal hold.
If an object is under legal hold, it cannot be deleted regardless of whether or not its retention time has passed.
Refer to the UpdateCompliance documentation for more information about compliance.
|
RetentionTime String |
The retention time for a specific object.
An object's individual retention time is an ISO 8601 date-time before which the object cannot be deleted. The retention time of an object is initially set based on the value of RetentionDays setting of the bucket it resides in. Objects can have their retention time extended, but not reduced.
Refer to the UpdateCompliance documentation for more information about compliance.
|
Constructors
constructor Create();
constructor Create(valRetentionTime: String; valConditionalHold: String; valLegalHold: String);