public class RetentionPolicy extends RetentionPolicyMini
| Modifier and Type | Class and Description |
|---|---|
static class |
RetentionPolicy.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 RetentionPolicyAssignmentCountsField |
assignmentCounts
Counts the retention policy assignments for each item type.
|
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 OffsetDateTime |
createdAt
When the retention policy object was created.
|
protected UserMini |
createdBy |
protected List<UserMini> |
customNotificationRecipients
A list of users notified when the retention policy duration is about to end.
|
protected String |
description
The additional text description of the retention policy.
|
protected OffsetDateTime |
modifiedAt
When the retention policy object was last modified.
|
protected EnumWrapper<RetentionPolicyPolicyTypeField> |
policyType
The type of the retention policy.
|
protected EnumWrapper<RetentionPolicyRetentionTypeField> |
retentionType
Specifies the retention type:
|
protected EnumWrapper<RetentionPolicyStatusField> |
status
The status of the retention policy.
|
dispositionAction, maxExtensionLength, policyName, retentionLengthid, typeexplicitlySetNullableFields| Modifier | Constructor and Description |
|---|---|
protected |
RetentionPolicy(RetentionPolicy.Builder builder) |
|
RetentionPolicy(String id) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
Boolean |
getAreOwnersNotified() |
RetentionPolicyAssignmentCountsField |
getAssignmentCounts() |
Boolean |
getCanOwnerExtendRetention() |
OffsetDateTime |
getCreatedAt() |
UserMini |
getCreatedBy() |
List<UserMini> |
getCustomNotificationRecipients() |
String |
getDescription() |
OffsetDateTime |
getModifiedAt() |
EnumWrapper<RetentionPolicyPolicyTypeField> |
getPolicyType() |
EnumWrapper<RetentionPolicyRetentionTypeField> |
getRetentionType() |
EnumWrapper<RetentionPolicyStatusField> |
getStatus() |
int |
hashCode() |
String |
toString() |
getDispositionAction, getMaxExtensionLength, getPolicyName, getRetentionLengthgetId, getTypegetRawData, setRawDatagetExplicitlySetNullableFields, isFieldExplicitlySet, markNullableFieldAsSet, markNullableFieldsAsSetprotected String description
protected EnumWrapper<RetentionPolicyPolicyTypeField> policyType
protected EnumWrapper<RetentionPolicyRetentionTypeField> 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.
protected EnumWrapper<RetentionPolicyStatusField> status
protected OffsetDateTime createdAt
protected OffsetDateTime modifiedAt
protected Boolean canOwnerExtendRetention
protected Boolean areOwnersNotified
protected List<UserMini> customNotificationRecipients
protected RetentionPolicyAssignmentCountsField assignmentCounts
public RetentionPolicy(String id)
protected RetentionPolicy(RetentionPolicy.Builder builder)
public String getDescription()
public EnumWrapper<RetentionPolicyPolicyTypeField> getPolicyType()
public EnumWrapper<RetentionPolicyRetentionTypeField> getRetentionType()
public EnumWrapper<RetentionPolicyStatusField> getStatus()
public UserMini getCreatedBy()
public OffsetDateTime getCreatedAt()
public OffsetDateTime getModifiedAt()
public Boolean getCanOwnerExtendRetention()
public Boolean getAreOwnersNotified()
public List<UserMini> getCustomNotificationRecipients()
public RetentionPolicyAssignmentCountsField getAssignmentCounts()
public boolean equals(Object o)
equals in class RetentionPolicyMinipublic int hashCode()
hashCode in class RetentionPolicyMinipublic String toString()
toString in class RetentionPolicyMini