@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateOntapVolumeConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
Used to specify changes to the ONTAP configuration for the volume you are updating.
Constructor and Description |
---|
UpdateOntapVolumeConfiguration() |
Modifier and Type | Method and Description |
---|---|
UpdateOntapVolumeConfiguration |
clone() |
boolean |
equals(Object obj) |
Boolean |
getCopyTagsToBackups()
A boolean flag indicating whether tags for the volume should be copied to backups.
|
String |
getJunctionPath()
Specifies the location in the SVM's namespace where the volume is mounted.
|
String |
getSecurityStyle()
The security style for the volume, which can be
UNIX , NTFS , or MIXED . |
Long |
getSizeInBytes()
The configured size of the volume, in bytes.
|
Integer |
getSizeInMegabytes()
Specifies the size of the volume in megabytes.
|
UpdateSnaplockConfiguration |
getSnaplockConfiguration()
The configuration object for updating the SnapLock configuration of an FSx for ONTAP SnapLock volume.
|
String |
getSnapshotPolicy()
Specifies the snapshot policy for the volume.
|
Boolean |
getStorageEfficiencyEnabled()
Default is
false . |
TieringPolicy |
getTieringPolicy()
Update the volume's data tiering policy.
|
int |
hashCode() |
Boolean |
isCopyTagsToBackups()
A boolean flag indicating whether tags for the volume should be copied to backups.
|
Boolean |
isStorageEfficiencyEnabled()
Default is
false . |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCopyTagsToBackups(Boolean copyTagsToBackups)
A boolean flag indicating whether tags for the volume should be copied to backups.
|
void |
setJunctionPath(String junctionPath)
Specifies the location in the SVM's namespace where the volume is mounted.
|
void |
setSecurityStyle(String securityStyle)
The security style for the volume, which can be
UNIX , NTFS , or MIXED . |
void |
setSizeInBytes(Long sizeInBytes)
The configured size of the volume, in bytes.
|
void |
setSizeInMegabytes(Integer sizeInMegabytes)
Specifies the size of the volume in megabytes.
|
void |
setSnaplockConfiguration(UpdateSnaplockConfiguration snaplockConfiguration)
The configuration object for updating the SnapLock configuration of an FSx for ONTAP SnapLock volume.
|
void |
setSnapshotPolicy(String snapshotPolicy)
Specifies the snapshot policy for the volume.
|
void |
setStorageEfficiencyEnabled(Boolean storageEfficiencyEnabled)
Default is
false . |
void |
setTieringPolicy(TieringPolicy tieringPolicy)
Update the volume's data tiering policy.
|
String |
toString()
Returns a string representation of this object.
|
UpdateOntapVolumeConfiguration |
withCopyTagsToBackups(Boolean copyTagsToBackups)
A boolean flag indicating whether tags for the volume should be copied to backups.
|
UpdateOntapVolumeConfiguration |
withJunctionPath(String junctionPath)
Specifies the location in the SVM's namespace where the volume is mounted.
|
UpdateOntapVolumeConfiguration |
withSecurityStyle(SecurityStyle securityStyle)
The security style for the volume, which can be
UNIX , NTFS , or MIXED . |
UpdateOntapVolumeConfiguration |
withSecurityStyle(String securityStyle)
The security style for the volume, which can be
UNIX , NTFS , or MIXED . |
UpdateOntapVolumeConfiguration |
withSizeInBytes(Long sizeInBytes)
The configured size of the volume, in bytes.
|
UpdateOntapVolumeConfiguration |
withSizeInMegabytes(Integer sizeInMegabytes)
Specifies the size of the volume in megabytes.
|
UpdateOntapVolumeConfiguration |
withSnaplockConfiguration(UpdateSnaplockConfiguration snaplockConfiguration)
The configuration object for updating the SnapLock configuration of an FSx for ONTAP SnapLock volume.
|
UpdateOntapVolumeConfiguration |
withSnapshotPolicy(String snapshotPolicy)
Specifies the snapshot policy for the volume.
|
UpdateOntapVolumeConfiguration |
withStorageEfficiencyEnabled(Boolean storageEfficiencyEnabled)
Default is
false . |
UpdateOntapVolumeConfiguration |
withTieringPolicy(TieringPolicy tieringPolicy)
Update the volume's data tiering policy.
|
public void setJunctionPath(String junctionPath)
Specifies the location in the SVM's namespace where the volume is mounted. The JunctionPath
must
have a leading forward slash, such as /vol3
.
junctionPath
- Specifies the location in the SVM's namespace where the volume is mounted. The JunctionPath
must have a leading forward slash, such as /vol3
.public String getJunctionPath()
Specifies the location in the SVM's namespace where the volume is mounted. The JunctionPath
must
have a leading forward slash, such as /vol3
.
JunctionPath
must have a leading forward slash, such as /vol3
.public UpdateOntapVolumeConfiguration withJunctionPath(String junctionPath)
Specifies the location in the SVM's namespace where the volume is mounted. The JunctionPath
must
have a leading forward slash, such as /vol3
.
junctionPath
- Specifies the location in the SVM's namespace where the volume is mounted. The JunctionPath
must have a leading forward slash, such as /vol3
.public void setSecurityStyle(String securityStyle)
The security style for the volume, which can be UNIX
, NTFS
, or MIXED
.
securityStyle
- The security style for the volume, which can be UNIX
, NTFS
, or
MIXED
.SecurityStyle
public String getSecurityStyle()
The security style for the volume, which can be UNIX
, NTFS
, or MIXED
.
UNIX
, NTFS
, or
MIXED
.SecurityStyle
public UpdateOntapVolumeConfiguration withSecurityStyle(String securityStyle)
The security style for the volume, which can be UNIX
, NTFS
, or MIXED
.
securityStyle
- The security style for the volume, which can be UNIX
, NTFS
, or
MIXED
.SecurityStyle
public UpdateOntapVolumeConfiguration withSecurityStyle(SecurityStyle securityStyle)
The security style for the volume, which can be UNIX
, NTFS
, or MIXED
.
securityStyle
- The security style for the volume, which can be UNIX
, NTFS
, or
MIXED
.SecurityStyle
public void setSizeInMegabytes(Integer sizeInMegabytes)
Specifies the size of the volume in megabytes.
sizeInMegabytes
- Specifies the size of the volume in megabytes.public Integer getSizeInMegabytes()
Specifies the size of the volume in megabytes.
public UpdateOntapVolumeConfiguration withSizeInMegabytes(Integer sizeInMegabytes)
Specifies the size of the volume in megabytes.
sizeInMegabytes
- Specifies the size of the volume in megabytes.public void setStorageEfficiencyEnabled(Boolean storageEfficiencyEnabled)
Default is false
. Set to true to enable the deduplication, compression, and compaction storage
efficiency features on the volume.
storageEfficiencyEnabled
- Default is false
. Set to true to enable the deduplication, compression, and compaction
storage efficiency features on the volume.public Boolean getStorageEfficiencyEnabled()
Default is false
. Set to true to enable the deduplication, compression, and compaction storage
efficiency features on the volume.
false
. Set to true to enable the deduplication, compression, and compaction
storage efficiency features on the volume.public UpdateOntapVolumeConfiguration withStorageEfficiencyEnabled(Boolean storageEfficiencyEnabled)
Default is false
. Set to true to enable the deduplication, compression, and compaction storage
efficiency features on the volume.
storageEfficiencyEnabled
- Default is false
. Set to true to enable the deduplication, compression, and compaction
storage efficiency features on the volume.public Boolean isStorageEfficiencyEnabled()
Default is false
. Set to true to enable the deduplication, compression, and compaction storage
efficiency features on the volume.
false
. Set to true to enable the deduplication, compression, and compaction
storage efficiency features on the volume.public void setTieringPolicy(TieringPolicy tieringPolicy)
Update the volume's data tiering policy.
tieringPolicy
- Update the volume's data tiering policy.public TieringPolicy getTieringPolicy()
Update the volume's data tiering policy.
public UpdateOntapVolumeConfiguration withTieringPolicy(TieringPolicy tieringPolicy)
Update the volume's data tiering policy.
tieringPolicy
- Update the volume's data tiering policy.public void setSnapshotPolicy(String snapshotPolicy)
Specifies the snapshot policy for the volume. There are three built-in snapshot policies:
default
: This is the default policy. A maximum of six hourly snapshots taken five minutes past the
hour. A maximum of two daily snapshots taken Monday through Saturday at 10 minutes after midnight. A maximum of
two weekly snapshots taken every Sunday at 15 minutes after midnight.
default-1weekly
: This policy is the same as the default
policy except that it only
retains one snapshot from the weekly schedule.
none
: This policy does not take any snapshots. This policy can be assigned to volumes to prevent
automatic snapshots from being taken.
You can also provide the name of a custom policy that you created with the ONTAP CLI or REST API.
For more information, see Snapshot policies in the Amazon FSx for NetApp ONTAP User Guide.
snapshotPolicy
- Specifies the snapshot policy for the volume. There are three built-in snapshot policies:
default
: This is the default policy. A maximum of six hourly snapshots taken five minutes
past the hour. A maximum of two daily snapshots taken Monday through Saturday at 10 minutes after
midnight. A maximum of two weekly snapshots taken every Sunday at 15 minutes after midnight.
default-1weekly
: This policy is the same as the default
policy except that it
only retains one snapshot from the weekly schedule.
none
: This policy does not take any snapshots. This policy can be assigned to volumes to
prevent automatic snapshots from being taken.
You can also provide the name of a custom policy that you created with the ONTAP CLI or REST API.
For more information, see Snapshot policies in the Amazon FSx for NetApp ONTAP User Guide.
public String getSnapshotPolicy()
Specifies the snapshot policy for the volume. There are three built-in snapshot policies:
default
: This is the default policy. A maximum of six hourly snapshots taken five minutes past the
hour. A maximum of two daily snapshots taken Monday through Saturday at 10 minutes after midnight. A maximum of
two weekly snapshots taken every Sunday at 15 minutes after midnight.
default-1weekly
: This policy is the same as the default
policy except that it only
retains one snapshot from the weekly schedule.
none
: This policy does not take any snapshots. This policy can be assigned to volumes to prevent
automatic snapshots from being taken.
You can also provide the name of a custom policy that you created with the ONTAP CLI or REST API.
For more information, see Snapshot policies in the Amazon FSx for NetApp ONTAP User Guide.
default
: This is the default policy. A maximum of six hourly snapshots taken five minutes
past the hour. A maximum of two daily snapshots taken Monday through Saturday at 10 minutes after
midnight. A maximum of two weekly snapshots taken every Sunday at 15 minutes after midnight.
default-1weekly
: This policy is the same as the default
policy except that it
only retains one snapshot from the weekly schedule.
none
: This policy does not take any snapshots. This policy can be assigned to volumes to
prevent automatic snapshots from being taken.
You can also provide the name of a custom policy that you created with the ONTAP CLI or REST API.
For more information, see Snapshot policies in the Amazon FSx for NetApp ONTAP User Guide.
public UpdateOntapVolumeConfiguration withSnapshotPolicy(String snapshotPolicy)
Specifies the snapshot policy for the volume. There are three built-in snapshot policies:
default
: This is the default policy. A maximum of six hourly snapshots taken five minutes past the
hour. A maximum of two daily snapshots taken Monday through Saturday at 10 minutes after midnight. A maximum of
two weekly snapshots taken every Sunday at 15 minutes after midnight.
default-1weekly
: This policy is the same as the default
policy except that it only
retains one snapshot from the weekly schedule.
none
: This policy does not take any snapshots. This policy can be assigned to volumes to prevent
automatic snapshots from being taken.
You can also provide the name of a custom policy that you created with the ONTAP CLI or REST API.
For more information, see Snapshot policies in the Amazon FSx for NetApp ONTAP User Guide.
snapshotPolicy
- Specifies the snapshot policy for the volume. There are three built-in snapshot policies:
default
: This is the default policy. A maximum of six hourly snapshots taken five minutes
past the hour. A maximum of two daily snapshots taken Monday through Saturday at 10 minutes after
midnight. A maximum of two weekly snapshots taken every Sunday at 15 minutes after midnight.
default-1weekly
: This policy is the same as the default
policy except that it
only retains one snapshot from the weekly schedule.
none
: This policy does not take any snapshots. This policy can be assigned to volumes to
prevent automatic snapshots from being taken.
You can also provide the name of a custom policy that you created with the ONTAP CLI or REST API.
For more information, see Snapshot policies in the Amazon FSx for NetApp ONTAP User Guide.
public void setCopyTagsToBackups(Boolean copyTagsToBackups)
A boolean flag indicating whether tags for the volume should be copied to backups. This value defaults to false. If it's set to true, all tags for the volume are copied to all automatic and user-initiated backups where the user doesn't specify tags. If this value is true, and you specify one or more tags, only the specified tags are copied to backups. If you specify one or more tags when creating a user-initiated backup, no tags are copied from the volume, regardless of this value.
copyTagsToBackups
- A boolean flag indicating whether tags for the volume should be copied to backups. This value defaults to
false. If it's set to true, all tags for the volume are copied to all automatic and user-initiated backups
where the user doesn't specify tags. If this value is true, and you specify one or more tags, only the
specified tags are copied to backups. If you specify one or more tags when creating a user-initiated
backup, no tags are copied from the volume, regardless of this value.public Boolean getCopyTagsToBackups()
A boolean flag indicating whether tags for the volume should be copied to backups. This value defaults to false. If it's set to true, all tags for the volume are copied to all automatic and user-initiated backups where the user doesn't specify tags. If this value is true, and you specify one or more tags, only the specified tags are copied to backups. If you specify one or more tags when creating a user-initiated backup, no tags are copied from the volume, regardless of this value.
public UpdateOntapVolumeConfiguration withCopyTagsToBackups(Boolean copyTagsToBackups)
A boolean flag indicating whether tags for the volume should be copied to backups. This value defaults to false. If it's set to true, all tags for the volume are copied to all automatic and user-initiated backups where the user doesn't specify tags. If this value is true, and you specify one or more tags, only the specified tags are copied to backups. If you specify one or more tags when creating a user-initiated backup, no tags are copied from the volume, regardless of this value.
copyTagsToBackups
- A boolean flag indicating whether tags for the volume should be copied to backups. This value defaults to
false. If it's set to true, all tags for the volume are copied to all automatic and user-initiated backups
where the user doesn't specify tags. If this value is true, and you specify one or more tags, only the
specified tags are copied to backups. If you specify one or more tags when creating a user-initiated
backup, no tags are copied from the volume, regardless of this value.public Boolean isCopyTagsToBackups()
A boolean flag indicating whether tags for the volume should be copied to backups. This value defaults to false. If it's set to true, all tags for the volume are copied to all automatic and user-initiated backups where the user doesn't specify tags. If this value is true, and you specify one or more tags, only the specified tags are copied to backups. If you specify one or more tags when creating a user-initiated backup, no tags are copied from the volume, regardless of this value.
public void setSnaplockConfiguration(UpdateSnaplockConfiguration snaplockConfiguration)
The configuration object for updating the SnapLock configuration of an FSx for ONTAP SnapLock volume.
snaplockConfiguration
- The configuration object for updating the SnapLock configuration of an FSx for ONTAP SnapLock volume.public UpdateSnaplockConfiguration getSnaplockConfiguration()
The configuration object for updating the SnapLock configuration of an FSx for ONTAP SnapLock volume.
public UpdateOntapVolumeConfiguration withSnaplockConfiguration(UpdateSnaplockConfiguration snaplockConfiguration)
The configuration object for updating the SnapLock configuration of an FSx for ONTAP SnapLock volume.
snaplockConfiguration
- The configuration object for updating the SnapLock configuration of an FSx for ONTAP SnapLock volume.public void setSizeInBytes(Long sizeInBytes)
The configured size of the volume, in bytes.
sizeInBytes
- The configured size of the volume, in bytes.public Long getSizeInBytes()
The configured size of the volume, in bytes.
public UpdateOntapVolumeConfiguration withSizeInBytes(Long sizeInBytes)
The configured size of the volume, in bytes.
sizeInBytes
- The configured size of the volume, in bytes.public String toString()
toString
in class Object
Object.toString()
public UpdateOntapVolumeConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.