@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateOpenZFSVolumeConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
Specifies the configuration of the OpenZFS volume that you are creating.
Constructor and Description |
---|
CreateOpenZFSVolumeConfiguration() |
Modifier and Type | Method and Description |
---|---|
CreateOpenZFSVolumeConfiguration |
clone() |
boolean |
equals(Object obj) |
Boolean |
getCopyTagsToSnapshots()
A Boolean value indicating whether tags for the volume should be copied to snapshots.
|
String |
getDataCompressionType()
Specifies the method used to compress the data on the volume.
|
List<OpenZFSNfsExport> |
getNfsExports()
The configuration object for mounting a Network File System (NFS) file system.
|
CreateOpenZFSOriginSnapshotConfiguration |
getOriginSnapshot()
The configuration object that specifies the snapshot to use as the origin of the data for the volume.
|
String |
getParentVolumeId()
The ID of the volume to use as the parent volume.
|
Boolean |
getReadOnly()
A Boolean value indicating whether the volume is read-only.
|
Integer |
getStorageCapacityQuotaGiB()
The maximum amount of storage in gibibytes (GiB) that the volume can use from its parent.
|
Integer |
getStorageCapacityReservationGiB()
The amount of storage in gibibytes (GiB) to reserve from the parent volume.
|
List<OpenZFSUserOrGroupQuota> |
getUserAndGroupQuotas()
An object specifying how much storage users or groups can use on the volume.
|
int |
hashCode() |
Boolean |
isCopyTagsToSnapshots()
A Boolean value indicating whether tags for the volume should be copied to snapshots.
|
Boolean |
isReadOnly()
A Boolean value indicating whether the volume is read-only.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCopyTagsToSnapshots(Boolean copyTagsToSnapshots)
A Boolean value indicating whether tags for the volume should be copied to snapshots.
|
void |
setDataCompressionType(String dataCompressionType)
Specifies the method used to compress the data on the volume.
|
void |
setNfsExports(Collection<OpenZFSNfsExport> nfsExports)
The configuration object for mounting a Network File System (NFS) file system.
|
void |
setOriginSnapshot(CreateOpenZFSOriginSnapshotConfiguration originSnapshot)
The configuration object that specifies the snapshot to use as the origin of the data for the volume.
|
void |
setParentVolumeId(String parentVolumeId)
The ID of the volume to use as the parent volume.
|
void |
setReadOnly(Boolean readOnly)
A Boolean value indicating whether the volume is read-only.
|
void |
setStorageCapacityQuotaGiB(Integer storageCapacityQuotaGiB)
The maximum amount of storage in gibibytes (GiB) that the volume can use from its parent.
|
void |
setStorageCapacityReservationGiB(Integer storageCapacityReservationGiB)
The amount of storage in gibibytes (GiB) to reserve from the parent volume.
|
void |
setUserAndGroupQuotas(Collection<OpenZFSUserOrGroupQuota> userAndGroupQuotas)
An object specifying how much storage users or groups can use on the volume.
|
String |
toString()
Returns a string representation of this object.
|
CreateOpenZFSVolumeConfiguration |
withCopyTagsToSnapshots(Boolean copyTagsToSnapshots)
A Boolean value indicating whether tags for the volume should be copied to snapshots.
|
CreateOpenZFSVolumeConfiguration |
withDataCompressionType(OpenZFSDataCompressionType dataCompressionType)
Specifies the method used to compress the data on the volume.
|
CreateOpenZFSVolumeConfiguration |
withDataCompressionType(String dataCompressionType)
Specifies the method used to compress the data on the volume.
|
CreateOpenZFSVolumeConfiguration |
withNfsExports(Collection<OpenZFSNfsExport> nfsExports)
The configuration object for mounting a Network File System (NFS) file system.
|
CreateOpenZFSVolumeConfiguration |
withNfsExports(OpenZFSNfsExport... nfsExports)
The configuration object for mounting a Network File System (NFS) file system.
|
CreateOpenZFSVolumeConfiguration |
withOriginSnapshot(CreateOpenZFSOriginSnapshotConfiguration originSnapshot)
The configuration object that specifies the snapshot to use as the origin of the data for the volume.
|
CreateOpenZFSVolumeConfiguration |
withParentVolumeId(String parentVolumeId)
The ID of the volume to use as the parent volume.
|
CreateOpenZFSVolumeConfiguration |
withReadOnly(Boolean readOnly)
A Boolean value indicating whether the volume is read-only.
|
CreateOpenZFSVolumeConfiguration |
withStorageCapacityQuotaGiB(Integer storageCapacityQuotaGiB)
The maximum amount of storage in gibibytes (GiB) that the volume can use from its parent.
|
CreateOpenZFSVolumeConfiguration |
withStorageCapacityReservationGiB(Integer storageCapacityReservationGiB)
The amount of storage in gibibytes (GiB) to reserve from the parent volume.
|
CreateOpenZFSVolumeConfiguration |
withUserAndGroupQuotas(Collection<OpenZFSUserOrGroupQuota> userAndGroupQuotas)
An object specifying how much storage users or groups can use on the volume.
|
CreateOpenZFSVolumeConfiguration |
withUserAndGroupQuotas(OpenZFSUserOrGroupQuota... userAndGroupQuotas)
An object specifying how much storage users or groups can use on the volume.
|
public void setParentVolumeId(String parentVolumeId)
The ID of the volume to use as the parent volume.
parentVolumeId
- The ID of the volume to use as the parent volume.public String getParentVolumeId()
The ID of the volume to use as the parent volume.
public CreateOpenZFSVolumeConfiguration withParentVolumeId(String parentVolumeId)
The ID of the volume to use as the parent volume.
parentVolumeId
- The ID of the volume to use as the parent volume.public void setStorageCapacityReservationGiB(Integer storageCapacityReservationGiB)
The amount of storage in gibibytes (GiB) to reserve from the parent volume. You can't reserve more storage than the parent volume has reserved.
storageCapacityReservationGiB
- The amount of storage in gibibytes (GiB) to reserve from the parent volume. You can't reserve more storage
than the parent volume has reserved.public Integer getStorageCapacityReservationGiB()
The amount of storage in gibibytes (GiB) to reserve from the parent volume. You can't reserve more storage than the parent volume has reserved.
public CreateOpenZFSVolumeConfiguration withStorageCapacityReservationGiB(Integer storageCapacityReservationGiB)
The amount of storage in gibibytes (GiB) to reserve from the parent volume. You can't reserve more storage than the parent volume has reserved.
storageCapacityReservationGiB
- The amount of storage in gibibytes (GiB) to reserve from the parent volume. You can't reserve more storage
than the parent volume has reserved.public void setStorageCapacityQuotaGiB(Integer storageCapacityQuotaGiB)
The maximum amount of storage in gibibytes (GiB) that the volume can use from its parent. You can specify a quota larger than the storage on the parent volume.
storageCapacityQuotaGiB
- The maximum amount of storage in gibibytes (GiB) that the volume can use from its parent. You can specify
a quota larger than the storage on the parent volume.public Integer getStorageCapacityQuotaGiB()
The maximum amount of storage in gibibytes (GiB) that the volume can use from its parent. You can specify a quota larger than the storage on the parent volume.
public CreateOpenZFSVolumeConfiguration withStorageCapacityQuotaGiB(Integer storageCapacityQuotaGiB)
The maximum amount of storage in gibibytes (GiB) that the volume can use from its parent. You can specify a quota larger than the storage on the parent volume.
storageCapacityQuotaGiB
- The maximum amount of storage in gibibytes (GiB) that the volume can use from its parent. You can specify
a quota larger than the storage on the parent volume.public void setDataCompressionType(String dataCompressionType)
Specifies the method used to compress the data on the volume. Unless the compression type is specified, volumes
inherit the DataCompressionType
value of their parent volume.
NONE
- Doesn't compress the data on the volume.
ZSTD
- Compresses the data in the volume using the Zstandard (ZSTD) compression algorithm. This
algorithm reduces the amount of space used on your volume and has very little impact on compute resources.
dataCompressionType
- Specifies the method used to compress the data on the volume. Unless the compression type is specified,
volumes inherit the DataCompressionType
value of their parent volume.
NONE
- Doesn't compress the data on the volume.
ZSTD
- Compresses the data in the volume using the Zstandard (ZSTD) compression algorithm.
This algorithm reduces the amount of space used on your volume and has very little impact on compute
resources.
OpenZFSDataCompressionType
public String getDataCompressionType()
Specifies the method used to compress the data on the volume. Unless the compression type is specified, volumes
inherit the DataCompressionType
value of their parent volume.
NONE
- Doesn't compress the data on the volume.
ZSTD
- Compresses the data in the volume using the Zstandard (ZSTD) compression algorithm. This
algorithm reduces the amount of space used on your volume and has very little impact on compute resources.
DataCompressionType
value of their parent volume.
NONE
- Doesn't compress the data on the volume.
ZSTD
- Compresses the data in the volume using the Zstandard (ZSTD) compression algorithm.
This algorithm reduces the amount of space used on your volume and has very little impact on compute
resources.
OpenZFSDataCompressionType
public CreateOpenZFSVolumeConfiguration withDataCompressionType(String dataCompressionType)
Specifies the method used to compress the data on the volume. Unless the compression type is specified, volumes
inherit the DataCompressionType
value of their parent volume.
NONE
- Doesn't compress the data on the volume.
ZSTD
- Compresses the data in the volume using the Zstandard (ZSTD) compression algorithm. This
algorithm reduces the amount of space used on your volume and has very little impact on compute resources.
dataCompressionType
- Specifies the method used to compress the data on the volume. Unless the compression type is specified,
volumes inherit the DataCompressionType
value of their parent volume.
NONE
- Doesn't compress the data on the volume.
ZSTD
- Compresses the data in the volume using the Zstandard (ZSTD) compression algorithm.
This algorithm reduces the amount of space used on your volume and has very little impact on compute
resources.
OpenZFSDataCompressionType
public CreateOpenZFSVolumeConfiguration withDataCompressionType(OpenZFSDataCompressionType dataCompressionType)
Specifies the method used to compress the data on the volume. Unless the compression type is specified, volumes
inherit the DataCompressionType
value of their parent volume.
NONE
- Doesn't compress the data on the volume.
ZSTD
- Compresses the data in the volume using the Zstandard (ZSTD) compression algorithm. This
algorithm reduces the amount of space used on your volume and has very little impact on compute resources.
dataCompressionType
- Specifies the method used to compress the data on the volume. Unless the compression type is specified,
volumes inherit the DataCompressionType
value of their parent volume.
NONE
- Doesn't compress the data on the volume.
ZSTD
- Compresses the data in the volume using the Zstandard (ZSTD) compression algorithm.
This algorithm reduces the amount of space used on your volume and has very little impact on compute
resources.
OpenZFSDataCompressionType
public void setCopyTagsToSnapshots(Boolean copyTagsToSnapshots)
A Boolean value indicating whether tags for the volume should be copied to snapshots. This value defaults to
false
. If it's set to true
, all tags for the volume are copied to snapshots 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 snapshots. If you specify one or more tags when creating the snapshot, no tags are
copied from the volume, regardless of this value.
copyTagsToSnapshots
- A Boolean value indicating whether tags for the volume should be copied to snapshots. This value defaults
to false
. If it's set to true
, all tags for the volume are copied to snapshots
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 snapshots. If you specify one or more tags when creating the
snapshot, no tags are copied from the volume, regardless of this value.public Boolean getCopyTagsToSnapshots()
A Boolean value indicating whether tags for the volume should be copied to snapshots. This value defaults to
false
. If it's set to true
, all tags for the volume are copied to snapshots 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 snapshots. If you specify one or more tags when creating the snapshot, no tags are
copied from the volume, regardless of this value.
false
. If it's set to true
, all tags for the volume are copied to snapshots
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 snapshots. If you specify one or more tags when creating the
snapshot, no tags are copied from the volume, regardless of this value.public CreateOpenZFSVolumeConfiguration withCopyTagsToSnapshots(Boolean copyTagsToSnapshots)
A Boolean value indicating whether tags for the volume should be copied to snapshots. This value defaults to
false
. If it's set to true
, all tags for the volume are copied to snapshots 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 snapshots. If you specify one or more tags when creating the snapshot, no tags are
copied from the volume, regardless of this value.
copyTagsToSnapshots
- A Boolean value indicating whether tags for the volume should be copied to snapshots. This value defaults
to false
. If it's set to true
, all tags for the volume are copied to snapshots
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 snapshots. If you specify one or more tags when creating the
snapshot, no tags are copied from the volume, regardless of this value.public Boolean isCopyTagsToSnapshots()
A Boolean value indicating whether tags for the volume should be copied to snapshots. This value defaults to
false
. If it's set to true
, all tags for the volume are copied to snapshots 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 snapshots. If you specify one or more tags when creating the snapshot, no tags are
copied from the volume, regardless of this value.
false
. If it's set to true
, all tags for the volume are copied to snapshots
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 snapshots. If you specify one or more tags when creating the
snapshot, no tags are copied from the volume, regardless of this value.public void setOriginSnapshot(CreateOpenZFSOriginSnapshotConfiguration originSnapshot)
The configuration object that specifies the snapshot to use as the origin of the data for the volume.
originSnapshot
- The configuration object that specifies the snapshot to use as the origin of the data for the volume.public CreateOpenZFSOriginSnapshotConfiguration getOriginSnapshot()
The configuration object that specifies the snapshot to use as the origin of the data for the volume.
public CreateOpenZFSVolumeConfiguration withOriginSnapshot(CreateOpenZFSOriginSnapshotConfiguration originSnapshot)
The configuration object that specifies the snapshot to use as the origin of the data for the volume.
originSnapshot
- The configuration object that specifies the snapshot to use as the origin of the data for the volume.public void setReadOnly(Boolean readOnly)
A Boolean value indicating whether the volume is read-only.
readOnly
- A Boolean value indicating whether the volume is read-only.public Boolean getReadOnly()
A Boolean value indicating whether the volume is read-only.
public CreateOpenZFSVolumeConfiguration withReadOnly(Boolean readOnly)
A Boolean value indicating whether the volume is read-only.
readOnly
- A Boolean value indicating whether the volume is read-only.public Boolean isReadOnly()
A Boolean value indicating whether the volume is read-only.
public List<OpenZFSNfsExport> getNfsExports()
The configuration object for mounting a Network File System (NFS) file system.
public void setNfsExports(Collection<OpenZFSNfsExport> nfsExports)
The configuration object for mounting a Network File System (NFS) file system.
nfsExports
- The configuration object for mounting a Network File System (NFS) file system.public CreateOpenZFSVolumeConfiguration withNfsExports(OpenZFSNfsExport... nfsExports)
The configuration object for mounting a Network File System (NFS) file system.
NOTE: This method appends the values to the existing list (if any). Use
setNfsExports(java.util.Collection)
or withNfsExports(java.util.Collection)
if you want to
override the existing values.
nfsExports
- The configuration object for mounting a Network File System (NFS) file system.public CreateOpenZFSVolumeConfiguration withNfsExports(Collection<OpenZFSNfsExport> nfsExports)
The configuration object for mounting a Network File System (NFS) file system.
nfsExports
- The configuration object for mounting a Network File System (NFS) file system.public List<OpenZFSUserOrGroupQuota> getUserAndGroupQuotas()
An object specifying how much storage users or groups can use on the volume.
public void setUserAndGroupQuotas(Collection<OpenZFSUserOrGroupQuota> userAndGroupQuotas)
An object specifying how much storage users or groups can use on the volume.
userAndGroupQuotas
- An object specifying how much storage users or groups can use on the volume.public CreateOpenZFSVolumeConfiguration withUserAndGroupQuotas(OpenZFSUserOrGroupQuota... userAndGroupQuotas)
An object specifying how much storage users or groups can use on the volume.
NOTE: This method appends the values to the existing list (if any). Use
setUserAndGroupQuotas(java.util.Collection)
or withUserAndGroupQuotas(java.util.Collection)
if
you want to override the existing values.
userAndGroupQuotas
- An object specifying how much storage users or groups can use on the volume.public CreateOpenZFSVolumeConfiguration withUserAndGroupQuotas(Collection<OpenZFSUserOrGroupQuota> userAndGroupQuotas)
An object specifying how much storage users or groups can use on the volume.
userAndGroupQuotas
- An object specifying how much storage users or groups can use on the volume.public String toString()
toString
in class Object
Object.toString()
public CreateOpenZFSVolumeConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.