IPWorks Cloud 2020 Kotlin Edition

Questions / Feedback?

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.

DeleteAfterRetention
String?

Whether or not objects should be deleted immediately once their retention period expires.

IsLocked
String?

Signifies whether the current bucket's compliance settings are locked or not.

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.

RetentionDays
Int

Specifies the minimum number of days objects must be retained before they can be deleted.

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.

Constructors

public constructor()



public constructor(status: String?, lockTime: String?, retentionDays: Int, conditionalHold: String?, deleteAfterRetention: String?)



Copyright (c) 2021 /n software inc. - All rights reserved.
IPWorks Cloud 2020 Kotlin Edition - Version 20.0 [Build 7941]