@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateSnaplockConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
Updates the SnapLock configuration for an existing FSx for ONTAP volume.
Constructor and Description |
---|
UpdateSnaplockConfiguration() |
Modifier and Type | Method and Description |
---|---|
UpdateSnaplockConfiguration |
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.
|
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 |
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.
|
UpdateSnaplockConfiguration |
withAuditLogVolume(Boolean auditLogVolume)
Enables or disables the audit log volume for an FSx for ONTAP SnapLock volume.
|
UpdateSnaplockConfiguration |
withAutocommitPeriod(AutocommitPeriod autocommitPeriod)
The configuration object for setting the autocommit period of files in an FSx for ONTAP SnapLock volume.
|
UpdateSnaplockConfiguration |
withPrivilegedDelete(PrivilegedDelete privilegedDelete)
Enables, disables, or permanently disables privileged delete on an FSx for ONTAP SnapLock Enterprise volume.
|
UpdateSnaplockConfiguration |
withPrivilegedDelete(String privilegedDelete)
Enables, disables, or permanently disables privileged delete on an FSx for ONTAP SnapLock Enterprise volume.
|
UpdateSnaplockConfiguration |
withRetentionPeriod(SnaplockRetentionPeriod retentionPeriod)
Specifies the retention period of an FSx for ONTAP SnapLock volume.
|
UpdateSnaplockConfiguration |
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 UpdateSnaplockConfiguration 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 UpdateSnaplockConfiguration 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 write once, read many (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 write once, read many (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 write once, read many (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 UpdateSnaplockConfiguration 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 write once, read many (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 write once, read many (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 UpdateSnaplockConfiguration 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 write once, read many (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 write once, read many (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 UpdateSnaplockConfiguration 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 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 UpdateSnaplockConfiguration 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 UpdateSnaplockConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.