@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class OntapVolumeConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
The configuration of an Amazon FSx for NetApp ONTAP volume.
Constructor and Description |
---|
OntapVolumeConfiguration() |
Modifier and Type | Method and Description |
---|---|
OntapVolumeConfiguration |
clone() |
boolean |
equals(Object obj) |
AggregateConfiguration |
getAggregateConfiguration()
This structure specifies configuration options for a volume’s storage aggregate or aggregates.
|
Boolean |
getCopyTagsToBackups()
A boolean flag indicating whether tags for the volume should be copied to backups.
|
String |
getFlexCacheEndpointType()
Specifies the FlexCache endpoint type of the volume.
|
String |
getJunctionPath()
Specifies the directory that network-attached storage (NAS) clients use to mount the volume, along with the
storage virtual machine (SVM) Domain Name System (DNS) name or IP address.
|
String |
getOntapVolumeType()
Specifies the type of volume.
|
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()
The configured size of the volume, in megabytes (MBs).
|
SnaplockConfiguration |
getSnaplockConfiguration()
The SnapLock configuration object for an FSx for ONTAP SnapLock volume.
|
String |
getSnapshotPolicy()
Specifies the snapshot policy for the volume.
|
Boolean |
getStorageEfficiencyEnabled()
The volume's storage efficiency setting.
|
String |
getStorageVirtualMachineId()
The ID of the volume's storage virtual machine.
|
Boolean |
getStorageVirtualMachineRoot()
A Boolean flag indicating whether this volume is the root volume for its storage virtual machine (SVM).
|
TieringPolicy |
getTieringPolicy()
The volume's
TieringPolicy setting. |
String |
getUUID()
The volume's universally unique identifier (UUID).
|
String |
getVolumeStyle()
Use to specify the style of an ONTAP volume.
|
int |
hashCode() |
Boolean |
isCopyTagsToBackups()
A boolean flag indicating whether tags for the volume should be copied to backups.
|
Boolean |
isStorageEfficiencyEnabled()
The volume's storage efficiency setting.
|
Boolean |
isStorageVirtualMachineRoot()
A Boolean flag indicating whether this volume is the root volume for its storage virtual machine (SVM).
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAggregateConfiguration(AggregateConfiguration aggregateConfiguration)
This structure specifies configuration options for a volume’s storage aggregate or aggregates.
|
void |
setCopyTagsToBackups(Boolean copyTagsToBackups)
A boolean flag indicating whether tags for the volume should be copied to backups.
|
void |
setFlexCacheEndpointType(String flexCacheEndpointType)
Specifies the FlexCache endpoint type of the volume.
|
void |
setJunctionPath(String junctionPath)
Specifies the directory that network-attached storage (NAS) clients use to mount the volume, along with the
storage virtual machine (SVM) Domain Name System (DNS) name or IP address.
|
void |
setOntapVolumeType(String ontapVolumeType)
Specifies the type of volume.
|
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)
The configured size of the volume, in megabytes (MBs).
|
void |
setSnaplockConfiguration(SnaplockConfiguration snaplockConfiguration)
The SnapLock configuration object for an FSx for ONTAP SnapLock volume.
|
void |
setSnapshotPolicy(String snapshotPolicy)
Specifies the snapshot policy for the volume.
|
void |
setStorageEfficiencyEnabled(Boolean storageEfficiencyEnabled)
The volume's storage efficiency setting.
|
void |
setStorageVirtualMachineId(String storageVirtualMachineId)
The ID of the volume's storage virtual machine.
|
void |
setStorageVirtualMachineRoot(Boolean storageVirtualMachineRoot)
A Boolean flag indicating whether this volume is the root volume for its storage virtual machine (SVM).
|
void |
setTieringPolicy(TieringPolicy tieringPolicy)
The volume's
TieringPolicy setting. |
void |
setUUID(String uUID)
The volume's universally unique identifier (UUID).
|
void |
setVolumeStyle(String volumeStyle)
Use to specify the style of an ONTAP volume.
|
String |
toString()
Returns a string representation of this object.
|
OntapVolumeConfiguration |
withAggregateConfiguration(AggregateConfiguration aggregateConfiguration)
This structure specifies configuration options for a volume’s storage aggregate or aggregates.
|
OntapVolumeConfiguration |
withCopyTagsToBackups(Boolean copyTagsToBackups)
A boolean flag indicating whether tags for the volume should be copied to backups.
|
OntapVolumeConfiguration |
withFlexCacheEndpointType(FlexCacheEndpointType flexCacheEndpointType)
Specifies the FlexCache endpoint type of the volume.
|
OntapVolumeConfiguration |
withFlexCacheEndpointType(String flexCacheEndpointType)
Specifies the FlexCache endpoint type of the volume.
|
OntapVolumeConfiguration |
withJunctionPath(String junctionPath)
Specifies the directory that network-attached storage (NAS) clients use to mount the volume, along with the
storage virtual machine (SVM) Domain Name System (DNS) name or IP address.
|
OntapVolumeConfiguration |
withOntapVolumeType(OntapVolumeType ontapVolumeType)
Specifies the type of volume.
|
OntapVolumeConfiguration |
withOntapVolumeType(String ontapVolumeType)
Specifies the type of volume.
|
OntapVolumeConfiguration |
withSecurityStyle(SecurityStyle securityStyle)
The security style for the volume, which can be
UNIX , NTFS , or MIXED . |
OntapVolumeConfiguration |
withSecurityStyle(String securityStyle)
The security style for the volume, which can be
UNIX , NTFS , or MIXED . |
OntapVolumeConfiguration |
withSizeInBytes(Long sizeInBytes)
The configured size of the volume, in bytes.
|
OntapVolumeConfiguration |
withSizeInMegabytes(Integer sizeInMegabytes)
The configured size of the volume, in megabytes (MBs).
|
OntapVolumeConfiguration |
withSnaplockConfiguration(SnaplockConfiguration snaplockConfiguration)
The SnapLock configuration object for an FSx for ONTAP SnapLock volume.
|
OntapVolumeConfiguration |
withSnapshotPolicy(String snapshotPolicy)
Specifies the snapshot policy for the volume.
|
OntapVolumeConfiguration |
withStorageEfficiencyEnabled(Boolean storageEfficiencyEnabled)
The volume's storage efficiency setting.
|
OntapVolumeConfiguration |
withStorageVirtualMachineId(String storageVirtualMachineId)
The ID of the volume's storage virtual machine.
|
OntapVolumeConfiguration |
withStorageVirtualMachineRoot(Boolean storageVirtualMachineRoot)
A Boolean flag indicating whether this volume is the root volume for its storage virtual machine (SVM).
|
OntapVolumeConfiguration |
withTieringPolicy(TieringPolicy tieringPolicy)
The volume's
TieringPolicy setting. |
OntapVolumeConfiguration |
withUUID(String uUID)
The volume's universally unique identifier (UUID).
|
OntapVolumeConfiguration |
withVolumeStyle(String volumeStyle)
Use to specify the style of an ONTAP volume.
|
OntapVolumeConfiguration |
withVolumeStyle(VolumeStyle volumeStyle)
Use to specify the style of an ONTAP volume.
|
public void setFlexCacheEndpointType(String flexCacheEndpointType)
Specifies the FlexCache endpoint type of the volume. Valid values are the following:
NONE
specifies that the volume doesn't have a FlexCache configuration. NONE
is the
default.
ORIGIN
specifies that the volume is the origin volume for a FlexCache volume.
CACHE
specifies that the volume is a FlexCache volume.
flexCacheEndpointType
- Specifies the FlexCache endpoint type of the volume. Valid values are the following:
NONE
specifies that the volume doesn't have a FlexCache configuration. NONE
is
the default.
ORIGIN
specifies that the volume is the origin volume for a FlexCache volume.
CACHE
specifies that the volume is a FlexCache volume.
FlexCacheEndpointType
public String getFlexCacheEndpointType()
Specifies the FlexCache endpoint type of the volume. Valid values are the following:
NONE
specifies that the volume doesn't have a FlexCache configuration. NONE
is the
default.
ORIGIN
specifies that the volume is the origin volume for a FlexCache volume.
CACHE
specifies that the volume is a FlexCache volume.
NONE
specifies that the volume doesn't have a FlexCache configuration. NONE
is
the default.
ORIGIN
specifies that the volume is the origin volume for a FlexCache volume.
CACHE
specifies that the volume is a FlexCache volume.
FlexCacheEndpointType
public OntapVolumeConfiguration withFlexCacheEndpointType(String flexCacheEndpointType)
Specifies the FlexCache endpoint type of the volume. Valid values are the following:
NONE
specifies that the volume doesn't have a FlexCache configuration. NONE
is the
default.
ORIGIN
specifies that the volume is the origin volume for a FlexCache volume.
CACHE
specifies that the volume is a FlexCache volume.
flexCacheEndpointType
- Specifies the FlexCache endpoint type of the volume. Valid values are the following:
NONE
specifies that the volume doesn't have a FlexCache configuration. NONE
is
the default.
ORIGIN
specifies that the volume is the origin volume for a FlexCache volume.
CACHE
specifies that the volume is a FlexCache volume.
FlexCacheEndpointType
public OntapVolumeConfiguration withFlexCacheEndpointType(FlexCacheEndpointType flexCacheEndpointType)
Specifies the FlexCache endpoint type of the volume. Valid values are the following:
NONE
specifies that the volume doesn't have a FlexCache configuration. NONE
is the
default.
ORIGIN
specifies that the volume is the origin volume for a FlexCache volume.
CACHE
specifies that the volume is a FlexCache volume.
flexCacheEndpointType
- Specifies the FlexCache endpoint type of the volume. Valid values are the following:
NONE
specifies that the volume doesn't have a FlexCache configuration. NONE
is
the default.
ORIGIN
specifies that the volume is the origin volume for a FlexCache volume.
CACHE
specifies that the volume is a FlexCache volume.
FlexCacheEndpointType
public void setJunctionPath(String junctionPath)
Specifies the directory that network-attached storage (NAS) clients use to mount the volume, along with the
storage virtual machine (SVM) Domain Name System (DNS) name or IP address. You can create a
JunctionPath
directly below a parent volume junction or on a directory within a volume. A
JunctionPath
for a volume named vol3
might be /vol1/vol2/vol3
, or
/vol1/dir2/vol3
, or even /dir1/dir2/vol3
.
junctionPath
- Specifies the directory that network-attached storage (NAS) clients use to mount the volume, along with
the storage virtual machine (SVM) Domain Name System (DNS) name or IP address. You can create a
JunctionPath
directly below a parent volume junction or on a directory within a volume. A
JunctionPath
for a volume named vol3
might be /vol1/vol2/vol3
, or
/vol1/dir2/vol3
, or even /dir1/dir2/vol3
.public String getJunctionPath()
Specifies the directory that network-attached storage (NAS) clients use to mount the volume, along with the
storage virtual machine (SVM) Domain Name System (DNS) name or IP address. You can create a
JunctionPath
directly below a parent volume junction or on a directory within a volume. A
JunctionPath
for a volume named vol3
might be /vol1/vol2/vol3
, or
/vol1/dir2/vol3
, or even /dir1/dir2/vol3
.
JunctionPath
directly below a parent volume junction or on a directory within a volume. A
JunctionPath
for a volume named vol3
might be /vol1/vol2/vol3
, or
/vol1/dir2/vol3
, or even /dir1/dir2/vol3
.public OntapVolumeConfiguration withJunctionPath(String junctionPath)
Specifies the directory that network-attached storage (NAS) clients use to mount the volume, along with the
storage virtual machine (SVM) Domain Name System (DNS) name or IP address. You can create a
JunctionPath
directly below a parent volume junction or on a directory within a volume. A
JunctionPath
for a volume named vol3
might be /vol1/vol2/vol3
, or
/vol1/dir2/vol3
, or even /dir1/dir2/vol3
.
junctionPath
- Specifies the directory that network-attached storage (NAS) clients use to mount the volume, along with
the storage virtual machine (SVM) Domain Name System (DNS) name or IP address. You can create a
JunctionPath
directly below a parent volume junction or on a directory within a volume. A
JunctionPath
for a volume named vol3
might be /vol1/vol2/vol3
, or
/vol1/dir2/vol3
, or even /dir1/dir2/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 OntapVolumeConfiguration 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 OntapVolumeConfiguration 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)
The configured size of the volume, in megabytes (MBs).
sizeInMegabytes
- The configured size of the volume, in megabytes (MBs).public Integer getSizeInMegabytes()
The configured size of the volume, in megabytes (MBs).
public OntapVolumeConfiguration withSizeInMegabytes(Integer sizeInMegabytes)
The configured size of the volume, in megabytes (MBs).
sizeInMegabytes
- The configured size of the volume, in megabytes (MBs).public void setStorageEfficiencyEnabled(Boolean storageEfficiencyEnabled)
The volume's storage efficiency setting.
storageEfficiencyEnabled
- The volume's storage efficiency setting.public Boolean getStorageEfficiencyEnabled()
The volume's storage efficiency setting.
public OntapVolumeConfiguration withStorageEfficiencyEnabled(Boolean storageEfficiencyEnabled)
The volume's storage efficiency setting.
storageEfficiencyEnabled
- The volume's storage efficiency setting.public Boolean isStorageEfficiencyEnabled()
The volume's storage efficiency setting.
public void setStorageVirtualMachineId(String storageVirtualMachineId)
The ID of the volume's storage virtual machine.
storageVirtualMachineId
- The ID of the volume's storage virtual machine.public String getStorageVirtualMachineId()
The ID of the volume's storage virtual machine.
public OntapVolumeConfiguration withStorageVirtualMachineId(String storageVirtualMachineId)
The ID of the volume's storage virtual machine.
storageVirtualMachineId
- The ID of the volume's storage virtual machine.public void setStorageVirtualMachineRoot(Boolean storageVirtualMachineRoot)
A Boolean flag indicating whether this volume is the root volume for its storage virtual machine (SVM). Only one
volume on an SVM can be the root volume. This value defaults to false
. If this value is
true
, then this is the SVM root volume.
This flag is useful when you're deleting an SVM, because you must first delete all non-root volumes. This flag,
when set to false
, helps you identify which volumes to delete before you can delete the SVM.
storageVirtualMachineRoot
- A Boolean flag indicating whether this volume is the root volume for its storage virtual machine (SVM).
Only one volume on an SVM can be the root volume. This value defaults to false
. If this value
is true
, then this is the SVM root volume.
This flag is useful when you're deleting an SVM, because you must first delete all non-root volumes. This
flag, when set to false
, helps you identify which volumes to delete before you can delete the
SVM.
public Boolean getStorageVirtualMachineRoot()
A Boolean flag indicating whether this volume is the root volume for its storage virtual machine (SVM). Only one
volume on an SVM can be the root volume. This value defaults to false
. If this value is
true
, then this is the SVM root volume.
This flag is useful when you're deleting an SVM, because you must first delete all non-root volumes. This flag,
when set to false
, helps you identify which volumes to delete before you can delete the SVM.
false
. If this
value is true
, then this is the SVM root volume.
This flag is useful when you're deleting an SVM, because you must first delete all non-root volumes. This
flag, when set to false
, helps you identify which volumes to delete before you can delete
the SVM.
public OntapVolumeConfiguration withStorageVirtualMachineRoot(Boolean storageVirtualMachineRoot)
A Boolean flag indicating whether this volume is the root volume for its storage virtual machine (SVM). Only one
volume on an SVM can be the root volume. This value defaults to false
. If this value is
true
, then this is the SVM root volume.
This flag is useful when you're deleting an SVM, because you must first delete all non-root volumes. This flag,
when set to false
, helps you identify which volumes to delete before you can delete the SVM.
storageVirtualMachineRoot
- A Boolean flag indicating whether this volume is the root volume for its storage virtual machine (SVM).
Only one volume on an SVM can be the root volume. This value defaults to false
. If this value
is true
, then this is the SVM root volume.
This flag is useful when you're deleting an SVM, because you must first delete all non-root volumes. This
flag, when set to false
, helps you identify which volumes to delete before you can delete the
SVM.
public Boolean isStorageVirtualMachineRoot()
A Boolean flag indicating whether this volume is the root volume for its storage virtual machine (SVM). Only one
volume on an SVM can be the root volume. This value defaults to false
. If this value is
true
, then this is the SVM root volume.
This flag is useful when you're deleting an SVM, because you must first delete all non-root volumes. This flag,
when set to false
, helps you identify which volumes to delete before you can delete the SVM.
false
. If this
value is true
, then this is the SVM root volume.
This flag is useful when you're deleting an SVM, because you must first delete all non-root volumes. This
flag, when set to false
, helps you identify which volumes to delete before you can delete
the SVM.
public void setTieringPolicy(TieringPolicy tieringPolicy)
The volume's TieringPolicy
setting.
tieringPolicy
- The volume's TieringPolicy
setting.public TieringPolicy getTieringPolicy()
The volume's TieringPolicy
setting.
TieringPolicy
setting.public OntapVolumeConfiguration withTieringPolicy(TieringPolicy tieringPolicy)
The volume's TieringPolicy
setting.
tieringPolicy
- The volume's TieringPolicy
setting.public void setUUID(String uUID)
The volume's universally unique identifier (UUID).
uUID
- The volume's universally unique identifier (UUID).public String getUUID()
The volume's universally unique identifier (UUID).
public OntapVolumeConfiguration withUUID(String uUID)
The volume's universally unique identifier (UUID).
uUID
- The volume's universally unique identifier (UUID).public void setOntapVolumeType(String ontapVolumeType)
Specifies the type of volume. Valid values are the following:
RW
specifies a read/write volume. RW
is the default.
DP
specifies a data-protection volume. You can protect data by replicating it to data-protection
mirror copies. If a disaster occurs, you can use these data-protection mirror copies to recover data.
LS
specifies a load-sharing mirror volume. A load-sharing mirror reduces the network traffic to a
FlexVol volume by providing additional read-only access to clients.
ontapVolumeType
- Specifies the type of volume. Valid values are the following:
RW
specifies a read/write volume. RW
is the default.
DP
specifies a data-protection volume. You can protect data by replicating it to
data-protection mirror copies. If a disaster occurs, you can use these data-protection mirror copies to
recover data.
LS
specifies a load-sharing mirror volume. A load-sharing mirror reduces the network traffic
to a FlexVol volume by providing additional read-only access to clients.
OntapVolumeType
public String getOntapVolumeType()
Specifies the type of volume. Valid values are the following:
RW
specifies a read/write volume. RW
is the default.
DP
specifies a data-protection volume. You can protect data by replicating it to data-protection
mirror copies. If a disaster occurs, you can use these data-protection mirror copies to recover data.
LS
specifies a load-sharing mirror volume. A load-sharing mirror reduces the network traffic to a
FlexVol volume by providing additional read-only access to clients.
RW
specifies a read/write volume. RW
is the default.
DP
specifies a data-protection volume. You can protect data by replicating it to
data-protection mirror copies. If a disaster occurs, you can use these data-protection mirror copies to
recover data.
LS
specifies a load-sharing mirror volume. A load-sharing mirror reduces the network traffic
to a FlexVol volume by providing additional read-only access to clients.
OntapVolumeType
public OntapVolumeConfiguration withOntapVolumeType(String ontapVolumeType)
Specifies the type of volume. Valid values are the following:
RW
specifies a read/write volume. RW
is the default.
DP
specifies a data-protection volume. You can protect data by replicating it to data-protection
mirror copies. If a disaster occurs, you can use these data-protection mirror copies to recover data.
LS
specifies a load-sharing mirror volume. A load-sharing mirror reduces the network traffic to a
FlexVol volume by providing additional read-only access to clients.
ontapVolumeType
- Specifies the type of volume. Valid values are the following:
RW
specifies a read/write volume. RW
is the default.
DP
specifies a data-protection volume. You can protect data by replicating it to
data-protection mirror copies. If a disaster occurs, you can use these data-protection mirror copies to
recover data.
LS
specifies a load-sharing mirror volume. A load-sharing mirror reduces the network traffic
to a FlexVol volume by providing additional read-only access to clients.
OntapVolumeType
public OntapVolumeConfiguration withOntapVolumeType(OntapVolumeType ontapVolumeType)
Specifies the type of volume. Valid values are the following:
RW
specifies a read/write volume. RW
is the default.
DP
specifies a data-protection volume. You can protect data by replicating it to data-protection
mirror copies. If a disaster occurs, you can use these data-protection mirror copies to recover data.
LS
specifies a load-sharing mirror volume. A load-sharing mirror reduces the network traffic to a
FlexVol volume by providing additional read-only access to clients.
ontapVolumeType
- Specifies the type of volume. Valid values are the following:
RW
specifies a read/write volume. RW
is the default.
DP
specifies a data-protection volume. You can protect data by replicating it to
data-protection mirror copies. If a disaster occurs, you can use these data-protection mirror copies to
recover data.
LS
specifies a load-sharing mirror volume. A load-sharing mirror reduces the network traffic
to a FlexVol volume by providing additional read-only access to clients.
OntapVolumeType
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 OntapVolumeConfiguration 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 OntapVolumeConfiguration 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(SnaplockConfiguration snaplockConfiguration)
The SnapLock configuration object for an FSx for ONTAP SnapLock volume.
snaplockConfiguration
- The SnapLock configuration object for an FSx for ONTAP SnapLock volume.public SnaplockConfiguration getSnaplockConfiguration()
The SnapLock configuration object for an FSx for ONTAP SnapLock volume.
public OntapVolumeConfiguration withSnaplockConfiguration(SnaplockConfiguration snaplockConfiguration)
The SnapLock configuration object for an FSx for ONTAP SnapLock volume.
snaplockConfiguration
- The SnapLock configuration object for an FSx for ONTAP SnapLock volume.public void setVolumeStyle(String volumeStyle)
Use to specify the style of an ONTAP volume. For more information about FlexVols and FlexGroups, see Volume types in Amazon FSx for NetApp ONTAP User Guide.
volumeStyle
- Use to specify the style of an ONTAP volume. For more information about FlexVols and FlexGroups, see Volume types in Amazon FSx
for NetApp ONTAP User Guide.VolumeStyle
public String getVolumeStyle()
Use to specify the style of an ONTAP volume. For more information about FlexVols and FlexGroups, see Volume types in Amazon FSx for NetApp ONTAP User Guide.
VolumeStyle
public OntapVolumeConfiguration withVolumeStyle(String volumeStyle)
Use to specify the style of an ONTAP volume. For more information about FlexVols and FlexGroups, see Volume types in Amazon FSx for NetApp ONTAP User Guide.
volumeStyle
- Use to specify the style of an ONTAP volume. For more information about FlexVols and FlexGroups, see Volume types in Amazon FSx
for NetApp ONTAP User Guide.VolumeStyle
public OntapVolumeConfiguration withVolumeStyle(VolumeStyle volumeStyle)
Use to specify the style of an ONTAP volume. For more information about FlexVols and FlexGroups, see Volume types in Amazon FSx for NetApp ONTAP User Guide.
volumeStyle
- Use to specify the style of an ONTAP volume. For more information about FlexVols and FlexGroups, see Volume types in Amazon FSx
for NetApp ONTAP User Guide.VolumeStyle
public void setAggregateConfiguration(AggregateConfiguration aggregateConfiguration)
This structure specifies configuration options for a volume’s storage aggregate or aggregates.
aggregateConfiguration
- This structure specifies configuration options for a volume’s storage aggregate or aggregates.public AggregateConfiguration getAggregateConfiguration()
This structure specifies configuration options for a volume’s storage aggregate or aggregates.
public OntapVolumeConfiguration withAggregateConfiguration(AggregateConfiguration aggregateConfiguration)
This structure specifies configuration options for a volume’s storage aggregate or aggregates.
aggregateConfiguration
- This structure specifies configuration options for a volume’s storage aggregate or aggregates.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 OntapVolumeConfiguration 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 OntapVolumeConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.