public class UpdateRetentionPolicyByIdRequestBody extends SerializableObject
| Modifier and Type | Class and Description |
|---|---|
static class |
UpdateRetentionPolicyByIdRequestBody.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected Boolean |
areOwnersNotified
Determines if owners and co-owners of items under the policy are notified when the retention
duration is about to end.
|
protected Boolean |
canOwnerExtendRetention
Determines if the owner of items under the policy can extend the retention when the original
retention duration is about to end.
|
protected List<UserBase> |
customNotificationRecipients
A list of users notified when the retention duration is about to end.
|
protected String |
description
The additional text description of the retention policy.
|
protected String |
dispositionAction
The disposition action of the retention policy.
|
protected RetentionPolicyMaxExtensionLengthRequest |
maxExtensionLength |
protected String |
policyName
The name for the retention policy.
|
protected UpdateRetentionPolicyByIdRequestBodyRetentionLengthField |
retentionLength
The length of the retention policy.
|
protected String |
retentionType
Specifies the retention type:
|
protected String |
status
Used to retire a retention policy.
|
explicitlySetNullableFields| Modifier | Constructor and Description |
|---|---|
|
UpdateRetentionPolicyByIdRequestBody() |
protected |
UpdateRetentionPolicyByIdRequestBody(UpdateRetentionPolicyByIdRequestBody.Builder builder) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
Boolean |
getAreOwnersNotified() |
Boolean |
getCanOwnerExtendRetention() |
List<UserBase> |
getCustomNotificationRecipients() |
String |
getDescription() |
String |
getDispositionAction() |
RetentionPolicyMaxExtensionLengthRequest |
getMaxExtensionLength() |
String |
getPolicyName() |
UpdateRetentionPolicyByIdRequestBodyRetentionLengthField |
getRetentionLength() |
String |
getRetentionType() |
String |
getStatus() |
int |
hashCode() |
String |
toString() |
getRawData, setRawDatagetExplicitlySetNullableFields, isFieldExplicitlySet, markNullableFieldAsSet, markNullableFieldsAsSetprotected String policyName
protected String description
protected String dispositionAction
protected String retentionType
* `modifiable`: You can modify the retention policy. For example, you can add or remove folders, shorten or lengthen the policy duration, or delete the assignment. Use this type if your retention policy is not related to any regulatory purposes. * `non-modifiable`: You can modify the retention policy only in a limited way: add a folder, lengthen the duration, retire the policy, change the disposition action or notification settings. You cannot perform other actions, such as deleting the assignment or shortening the policy duration. Use this type to ensure compliance with regulatory retention policies.
When updating a retention policy, you can use `non-modifiable` type only. You can convert a `modifiable` policy to `non-modifiable`, but not the other way around.
protected UpdateRetentionPolicyByIdRequestBodyRetentionLengthField retentionLength
protected String status
If not retiring a policy, do not include this parameter or set it to `null`.
protected Boolean canOwnerExtendRetention
protected RetentionPolicyMaxExtensionLengthRequest maxExtensionLength
protected Boolean areOwnersNotified
protected List<UserBase> customNotificationRecipients
public UpdateRetentionPolicyByIdRequestBody()
protected UpdateRetentionPolicyByIdRequestBody(UpdateRetentionPolicyByIdRequestBody.Builder builder)
public String getPolicyName()
public String getDescription()
public String getDispositionAction()
public String getRetentionType()
public UpdateRetentionPolicyByIdRequestBodyRetentionLengthField getRetentionLength()
public Boolean getCanOwnerExtendRetention()
public RetentionPolicyMaxExtensionLengthRequest getMaxExtensionLength()
public Boolean getAreOwnersNotified()
public List<UserBase> getCustomNotificationRecipients()