@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateSnaplockConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
Defines the SnapLock configuration when creating an FSx for ONTAP SnapLock volume.
Constructor and Description |
---|
CreateSnaplockConfiguration() |
Modifier and Type | Method and Description |
---|---|
CreateSnaplockConfiguration |
clone() |
boolean |
equals(Object obj) |
Boolean |
getAuditLogVolume()
Enables or disables the audit log volume for an FSx for ONTAP SnapLock volume.
|
AutocommitPeriod |
getAutocommitPeriod()
The configuration object for setting the autocommit period of files in an FSx for ONTAP SnapLock volume.
|
String |
getPrivilegedDelete()
Enables, disables, or permanently disables privileged delete on an FSx for ONTAP SnapLock Enterprise volume.
|
SnaplockRetentionPeriod |
getRetentionPeriod()
Specifies the retention period of an FSx for ONTAP SnapLock volume.
|
String |
getSnaplockType()
Specifies the retention mode of an FSx for ONTAP SnapLock volume.
|
Boolean |
getVolumeAppendModeEnabled()
Enables or disables volume-append mode on an FSx for ONTAP SnapLock volume.
|
int |
hashCode() |
Boolean |
isAuditLogVolume()
Enables or disables the audit log volume for an FSx for ONTAP SnapLock volume.
|
Boolean |
isVolumeAppendModeEnabled()
Enables or disables volume-append mode on an FSx for ONTAP SnapLock volume.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAuditLogVolume(Boolean auditLogVolume)
Enables or disables the audit log volume for an FSx for ONTAP SnapLock volume.
|
void |
setAutocommitPeriod(AutocommitPeriod autocommitPeriod)
The configuration object for setting the autocommit period of files in an FSx for ONTAP SnapLock volume.
|
void |
setPrivilegedDelete(String privilegedDelete)
Enables, disables, or permanently disables privileged delete on an FSx for ONTAP SnapLock Enterprise volume.
|
void |
setRetentionPeriod(SnaplockRetentionPeriod retentionPeriod)
Specifies the retention period of an FSx for ONTAP SnapLock volume.
|
void |
setSnaplockType(String snaplockType)
Specifies the retention mode of an FSx for ONTAP SnapLock volume.
|
void |
setVolumeAppendModeEnabled(Boolean volumeAppendModeEnabled)
Enables or disables volume-append mode on an FSx for ONTAP SnapLock volume.
|
String |
toString()
Returns a string representation of this object.
|
CreateSnaplockConfiguration |
withAuditLogVolume(Boolean auditLogVolume)
Enables or disables the audit log volume for an FSx for ONTAP SnapLock volume.
|
CreateSnaplockConfiguration |
withAutocommitPeriod(AutocommitPeriod autocommitPeriod)
The configuration object for setting the autocommit period of files in an FSx for ONTAP SnapLock volume.
|
CreateSnaplockConfiguration |
withPrivilegedDelete(PrivilegedDelete privilegedDelete)
Enables, disables, or permanently disables privileged delete on an FSx for ONTAP SnapLock Enterprise volume.
|
CreateSnaplockConfiguration |
withPrivilegedDelete(String privilegedDelete)
Enables, disables, or permanently disables privileged delete on an FSx for ONTAP SnapLock Enterprise volume.
|
CreateSnaplockConfiguration |
withRetentionPeriod(SnaplockRetentionPeriod retentionPeriod)
Specifies the retention period of an FSx for ONTAP SnapLock volume.
|
CreateSnaplockConfiguration |
withSnaplockType(SnaplockType snaplockType)
Specifies the retention mode of an FSx for ONTAP SnapLock volume.
|
CreateSnaplockConfiguration |
withSnaplockType(String snaplockType)
Specifies the retention mode of an FSx for ONTAP SnapLock volume.
|
CreateSnaplockConfiguration |
withVolumeAppendModeEnabled(Boolean volumeAppendModeEnabled)
Enables or disables volume-append mode on an FSx for ONTAP SnapLock volume.
|
public void setAuditLogVolume(Boolean auditLogVolume)
Enables or disables the audit log volume for an FSx for ONTAP SnapLock volume. The default value is
false
. If you set AuditLogVolume
to true
, the SnapLock volume is created
as an audit log volume. The minimum retention period for an audit log volume is six months.
For more information, see SnapLock audit log volumes.
auditLogVolume
- Enables or disables the audit log volume for an FSx for ONTAP SnapLock volume. The default value is
false
. If you set AuditLogVolume
to true
, the SnapLock volume is
created as an audit log volume. The minimum retention period for an audit log volume is six months.
For more information, see SnapLock audit log volumes.
public Boolean getAuditLogVolume()
Enables or disables the audit log volume for an FSx for ONTAP SnapLock volume. The default value is
false
. If you set AuditLogVolume
to true
, the SnapLock volume is created
as an audit log volume. The minimum retention period for an audit log volume is six months.
For more information, see SnapLock audit log volumes.
false
. If you set AuditLogVolume
to true
, the SnapLock volume is
created as an audit log volume. The minimum retention period for an audit log volume is six months.
For more information, see SnapLock audit log volumes.
public CreateSnaplockConfiguration withAuditLogVolume(Boolean auditLogVolume)
Enables or disables the audit log volume for an FSx for ONTAP SnapLock volume. The default value is
false
. If you set AuditLogVolume
to true
, the SnapLock volume is created
as an audit log volume. The minimum retention period for an audit log volume is six months.
For more information, see SnapLock audit log volumes.
auditLogVolume
- Enables or disables the audit log volume for an FSx for ONTAP SnapLock volume. The default value is
false
. If you set AuditLogVolume
to true
, the SnapLock volume is
created as an audit log volume. The minimum retention period for an audit log volume is six months.
For more information, see SnapLock audit log volumes.
public Boolean isAuditLogVolume()
Enables or disables the audit log volume for an FSx for ONTAP SnapLock volume. The default value is
false
. If you set AuditLogVolume
to true
, the SnapLock volume is created
as an audit log volume. The minimum retention period for an audit log volume is six months.
For more information, see SnapLock audit log volumes.
false
. If you set AuditLogVolume
to true
, the SnapLock volume is
created as an audit log volume. The minimum retention period for an audit log volume is six months.
For more information, see SnapLock audit log volumes.
public void setAutocommitPeriod(AutocommitPeriod autocommitPeriod)
The configuration object for setting the autocommit period of files in an FSx for ONTAP SnapLock volume.
autocommitPeriod
- The configuration object for setting the autocommit period of files in an FSx for ONTAP SnapLock volume.public AutocommitPeriod getAutocommitPeriod()
The configuration object for setting the autocommit period of files in an FSx for ONTAP SnapLock volume.
public CreateSnaplockConfiguration withAutocommitPeriod(AutocommitPeriod autocommitPeriod)
The configuration object for setting the autocommit period of files in an FSx for ONTAP SnapLock volume.
autocommitPeriod
- The configuration object for setting the autocommit period of files in an FSx for ONTAP SnapLock volume.public void setPrivilegedDelete(String privilegedDelete)
Enables, disables, or permanently disables privileged delete on an FSx for ONTAP SnapLock Enterprise volume.
Enabling privileged delete allows SnapLock administrators to delete WORM files even if they have active retention
periods. PERMANENTLY_DISABLED
is a terminal state. If privileged delete is permanently disabled on a
SnapLock volume, you can't re-enable it. The default value is DISABLED
.
For more information, see Privileged delete.
privilegedDelete
- Enables, disables, or permanently disables privileged delete on an FSx for ONTAP SnapLock Enterprise
volume. Enabling privileged delete allows SnapLock administrators to delete WORM files even if they have
active retention periods. PERMANENTLY_DISABLED
is a terminal state. If privileged delete is
permanently disabled on a SnapLock volume, you can't re-enable it. The default value is
DISABLED
.
For more information, see Privileged delete.
PrivilegedDelete
public String getPrivilegedDelete()
Enables, disables, or permanently disables privileged delete on an FSx for ONTAP SnapLock Enterprise volume.
Enabling privileged delete allows SnapLock administrators to delete WORM files even if they have active retention
periods. PERMANENTLY_DISABLED
is a terminal state. If privileged delete is permanently disabled on a
SnapLock volume, you can't re-enable it. The default value is DISABLED
.
For more information, see Privileged delete.
PERMANENTLY_DISABLED
is a terminal state. If privileged delete is
permanently disabled on a SnapLock volume, you can't re-enable it. The default value is
DISABLED
.
For more information, see Privileged delete.
PrivilegedDelete
public CreateSnaplockConfiguration withPrivilegedDelete(String privilegedDelete)
Enables, disables, or permanently disables privileged delete on an FSx for ONTAP SnapLock Enterprise volume.
Enabling privileged delete allows SnapLock administrators to delete WORM files even if they have active retention
periods. PERMANENTLY_DISABLED
is a terminal state. If privileged delete is permanently disabled on a
SnapLock volume, you can't re-enable it. The default value is DISABLED
.
For more information, see Privileged delete.
privilegedDelete
- Enables, disables, or permanently disables privileged delete on an FSx for ONTAP SnapLock Enterprise
volume. Enabling privileged delete allows SnapLock administrators to delete WORM files even if they have
active retention periods. PERMANENTLY_DISABLED
is a terminal state. If privileged delete is
permanently disabled on a SnapLock volume, you can't re-enable it. The default value is
DISABLED
.
For more information, see Privileged delete.
PrivilegedDelete
public CreateSnaplockConfiguration withPrivilegedDelete(PrivilegedDelete privilegedDelete)
Enables, disables, or permanently disables privileged delete on an FSx for ONTAP SnapLock Enterprise volume.
Enabling privileged delete allows SnapLock administrators to delete WORM files even if they have active retention
periods. PERMANENTLY_DISABLED
is a terminal state. If privileged delete is permanently disabled on a
SnapLock volume, you can't re-enable it. The default value is DISABLED
.
For more information, see Privileged delete.
privilegedDelete
- Enables, disables, or permanently disables privileged delete on an FSx for ONTAP SnapLock Enterprise
volume. Enabling privileged delete allows SnapLock administrators to delete WORM files even if they have
active retention periods. PERMANENTLY_DISABLED
is a terminal state. If privileged delete is
permanently disabled on a SnapLock volume, you can't re-enable it. The default value is
DISABLED
.
For more information, see Privileged delete.
PrivilegedDelete
public void setRetentionPeriod(SnaplockRetentionPeriod retentionPeriod)
Specifies the retention period of an FSx for ONTAP SnapLock volume.
retentionPeriod
- Specifies the retention period of an FSx for ONTAP SnapLock volume.public SnaplockRetentionPeriod getRetentionPeriod()
Specifies the retention period of an FSx for ONTAP SnapLock volume.
public CreateSnaplockConfiguration withRetentionPeriod(SnaplockRetentionPeriod retentionPeriod)
Specifies the retention period of an FSx for ONTAP SnapLock volume.
retentionPeriod
- Specifies the retention period of an FSx for ONTAP SnapLock volume.public void setSnaplockType(String snaplockType)
Specifies the retention mode of an FSx for ONTAP SnapLock volume. After it is set, it can't be changed. You can choose one of the following retention modes:
COMPLIANCE
: Files transitioned to write once, read many (WORM) on a Compliance volume can't be
deleted until their retention periods expire. This retention mode is used to address government or
industry-specific mandates or to protect against ransomware attacks. For more information, see SnapLock Compliance.
ENTERPRISE
: Files transitioned to WORM on an Enterprise volume can be deleted by authorized users
before their retention periods expire using privileged delete. This retention mode is used to advance an
organization's data integrity and internal compliance or to test retention settings before using SnapLock
Compliance. For more information, see SnapLock Enterprise.
snaplockType
- Specifies the retention mode of an FSx for ONTAP SnapLock volume. After it is set, it can't be changed.
You can choose one of the following retention modes:
COMPLIANCE
: Files transitioned to write once, read many (WORM) on a Compliance volume can't
be deleted until their retention periods expire. This retention mode is used to address government or
industry-specific mandates or to protect against ransomware attacks. For more information, see SnapLock Compliance.
ENTERPRISE
: Files transitioned to WORM on an Enterprise volume can be deleted by authorized
users before their retention periods expire using privileged delete. This retention mode is used to
advance an organization's data integrity and internal compliance or to test retention settings before
using SnapLock Compliance. For more information, see SnapLock Enterprise.
SnaplockType
public String getSnaplockType()
Specifies the retention mode of an FSx for ONTAP SnapLock volume. After it is set, it can't be changed. You can choose one of the following retention modes:
COMPLIANCE
: Files transitioned to write once, read many (WORM) on a Compliance volume can't be
deleted until their retention periods expire. This retention mode is used to address government or
industry-specific mandates or to protect against ransomware attacks. For more information, see SnapLock Compliance.
ENTERPRISE
: Files transitioned to WORM on an Enterprise volume can be deleted by authorized users
before their retention periods expire using privileged delete. This retention mode is used to advance an
organization's data integrity and internal compliance or to test retention settings before using SnapLock
Compliance. For more information, see SnapLock Enterprise.
COMPLIANCE
: Files transitioned to write once, read many (WORM) on a Compliance volume can't
be deleted until their retention periods expire. This retention mode is used to address government or
industry-specific mandates or to protect against ransomware attacks. For more information, see SnapLock
Compliance.
ENTERPRISE
: Files transitioned to WORM on an Enterprise volume can be deleted by authorized
users before their retention periods expire using privileged delete. This retention mode is used to
advance an organization's data integrity and internal compliance or to test retention settings before
using SnapLock Compliance. For more information, see SnapLock
Enterprise.
SnaplockType
public CreateSnaplockConfiguration withSnaplockType(String snaplockType)
Specifies the retention mode of an FSx for ONTAP SnapLock volume. After it is set, it can't be changed. You can choose one of the following retention modes:
COMPLIANCE
: Files transitioned to write once, read many (WORM) on a Compliance volume can't be
deleted until their retention periods expire. This retention mode is used to address government or
industry-specific mandates or to protect against ransomware attacks. For more information, see SnapLock Compliance.
ENTERPRISE
: Files transitioned to WORM on an Enterprise volume can be deleted by authorized users
before their retention periods expire using privileged delete. This retention mode is used to advance an
organization's data integrity and internal compliance or to test retention settings before using SnapLock
Compliance. For more information, see SnapLock Enterprise.
snaplockType
- Specifies the retention mode of an FSx for ONTAP SnapLock volume. After it is set, it can't be changed.
You can choose one of the following retention modes:
COMPLIANCE
: Files transitioned to write once, read many (WORM) on a Compliance volume can't
be deleted until their retention periods expire. This retention mode is used to address government or
industry-specific mandates or to protect against ransomware attacks. For more information, see SnapLock Compliance.
ENTERPRISE
: Files transitioned to WORM on an Enterprise volume can be deleted by authorized
users before their retention periods expire using privileged delete. This retention mode is used to
advance an organization's data integrity and internal compliance or to test retention settings before
using SnapLock Compliance. For more information, see SnapLock Enterprise.
SnaplockType
public CreateSnaplockConfiguration withSnaplockType(SnaplockType snaplockType)
Specifies the retention mode of an FSx for ONTAP SnapLock volume. After it is set, it can't be changed. You can choose one of the following retention modes:
COMPLIANCE
: Files transitioned to write once, read many (WORM) on a Compliance volume can't be
deleted until their retention periods expire. This retention mode is used to address government or
industry-specific mandates or to protect against ransomware attacks. For more information, see SnapLock Compliance.
ENTERPRISE
: Files transitioned to WORM on an Enterprise volume can be deleted by authorized users
before their retention periods expire using privileged delete. This retention mode is used to advance an
organization's data integrity and internal compliance or to test retention settings before using SnapLock
Compliance. For more information, see SnapLock Enterprise.
snaplockType
- Specifies the retention mode of an FSx for ONTAP SnapLock volume. After it is set, it can't be changed.
You can choose one of the following retention modes:
COMPLIANCE
: Files transitioned to write once, read many (WORM) on a Compliance volume can't
be deleted until their retention periods expire. This retention mode is used to address government or
industry-specific mandates or to protect against ransomware attacks. For more information, see SnapLock Compliance.
ENTERPRISE
: Files transitioned to WORM on an Enterprise volume can be deleted by authorized
users before their retention periods expire using privileged delete. This retention mode is used to
advance an organization's data integrity and internal compliance or to test retention settings before
using SnapLock Compliance. For more information, see SnapLock Enterprise.
SnaplockType
public void setVolumeAppendModeEnabled(Boolean volumeAppendModeEnabled)
Enables or disables volume-append mode on an FSx for ONTAP SnapLock volume. Volume-append mode allows you to
create WORM-appendable files and write data to them incrementally. The default value is false
.
For more information, see Volume-append mode.
volumeAppendModeEnabled
- Enables or disables volume-append mode on an FSx for ONTAP SnapLock volume. Volume-append mode allows you
to create WORM-appendable files and write data to them incrementally. The default value is
false
.
For more information, see Volume-append mode.
public Boolean getVolumeAppendModeEnabled()
Enables or disables volume-append mode on an FSx for ONTAP SnapLock volume. Volume-append mode allows you to
create WORM-appendable files and write data to them incrementally. The default value is false
.
For more information, see Volume-append mode.
false
.
For more information, see Volume-append mode.
public CreateSnaplockConfiguration withVolumeAppendModeEnabled(Boolean volumeAppendModeEnabled)
Enables or disables volume-append mode on an FSx for ONTAP SnapLock volume. Volume-append mode allows you to
create WORM-appendable files and write data to them incrementally. The default value is false
.
For more information, see Volume-append mode.
volumeAppendModeEnabled
- Enables or disables volume-append mode on an FSx for ONTAP SnapLock volume. Volume-append mode allows you
to create WORM-appendable files and write data to them incrementally. The default value is
false
.
For more information, see Volume-append mode.
public Boolean isVolumeAppendModeEnabled()
Enables or disables volume-append mode on an FSx for ONTAP SnapLock volume. Volume-append mode allows you to
create WORM-appendable files and write data to them incrementally. The default value is false
.
For more information, see Volume-append mode.
false
.
For more information, see Volume-append mode.
public String toString()
toString
in class Object
Object.toString()
public CreateSnaplockConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.