@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) |
String |
getFlexCacheEndpointType()
Specifies the FlexCache endpoint type of the volume.
|
String |
getJunctionPath()
Specifies the directory that NAS clients use to mount the volume, along with the SVM 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 . |
Integer |
getSizeInMegabytes()
The configured size of the volume, in megabytes (MBs).
|
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 UUID (universally unique identifier).
|
int |
hashCode() |
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 |
setFlexCacheEndpointType(String flexCacheEndpointType)
Specifies the FlexCache endpoint type of the volume.
|
void |
setJunctionPath(String junctionPath)
Specifies the directory that NAS clients use to mount the volume, along with the SVM 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 |
setSizeInMegabytes(Integer sizeInMegabytes)
The configured size of the volume, in megabytes (MBs).
|
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 UUID (universally unique identifier).
|
String |
toString()
Returns a string representation of this object.
|
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 NAS clients use to mount the volume, along with the SVM 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 |
withSizeInMegabytes(Integer sizeInMegabytes)
The configured size of the volume, in megabytes (MBs).
|
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 UUID (universally unique identifier).
|
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 NAS clients use to mount the volume, along with the SVM 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 NAS clients use to mount the volume, along with the SVM 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 NAS clients use to mount the volume, along with the SVM 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 NAS clients use to mount the volume, along with the SVM 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 NAS clients use to mount the volume, along with the SVM 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.
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.
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 UUID (universally unique identifier).
uUID
- The volume's UUID (universally unique identifier).public String getUUID()
The volume's UUID (universally unique identifier).
public OntapVolumeConfiguration withUUID(String uUID)
The volume's UUID (universally unique identifier).
uUID
- The volume's UUID (universally unique identifier).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 and use data protection mirror copies to recover data when a disaster occurs.
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 and use data protection mirror copies to recover data when a disaster occurs.
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 and use data protection mirror copies to recover data when a disaster occurs.
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 and use data protection mirror copies to recover data when a disaster occurs.
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 and use data protection mirror copies to recover data when a disaster occurs.
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 and use data protection mirror copies to recover data when a disaster occurs.
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 and use data protection mirror copies to recover data when a disaster occurs.
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 and use data protection mirror copies to recover data when a disaster occurs.
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 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.