@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateOpenZFSVolumeConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
Used to specify changes to the OpenZFS configuration for the volume that you are updating.
Constructor and Description |
---|
UpdateOpenZFSVolumeConfiguration() |
Modifier and Type | Method and Description |
---|---|
UpdateOpenZFSVolumeConfiguration |
clone() |
boolean |
equals(Object obj) |
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.
|
Boolean |
getReadOnly()
A Boolean value indicating whether the volume is read-only.
|
Integer |
getRecordSizeKiB()
Specifies the record size of an OpenZFS volume, in kibibytes (KiB).
|
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 |
isReadOnly()
A Boolean value indicating whether the volume is read-only.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
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 |
setReadOnly(Boolean readOnly)
A Boolean value indicating whether the volume is read-only.
|
void |
setRecordSizeKiB(Integer recordSizeKiB)
Specifies the record size of an OpenZFS volume, in kibibytes (KiB).
|
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.
|
UpdateOpenZFSVolumeConfiguration |
withDataCompressionType(OpenZFSDataCompressionType dataCompressionType)
Specifies the method used to compress the data on the volume.
|
UpdateOpenZFSVolumeConfiguration |
withDataCompressionType(String dataCompressionType)
Specifies the method used to compress the data on the volume.
|
UpdateOpenZFSVolumeConfiguration |
withNfsExports(Collection<OpenZFSNfsExport> nfsExports)
The configuration object for mounting a Network File System (NFS) file system.
|
UpdateOpenZFSVolumeConfiguration |
withNfsExports(OpenZFSNfsExport... nfsExports)
The configuration object for mounting a Network File System (NFS) file system.
|
UpdateOpenZFSVolumeConfiguration |
withReadOnly(Boolean readOnly)
A Boolean value indicating whether the volume is read-only.
|
UpdateOpenZFSVolumeConfiguration |
withRecordSizeKiB(Integer recordSizeKiB)
Specifies the record size of an OpenZFS volume, in kibibytes (KiB).
|
UpdateOpenZFSVolumeConfiguration |
withStorageCapacityQuotaGiB(Integer storageCapacityQuotaGiB)
The maximum amount of storage in gibibytes (GiB) that the volume can use from its parent.
|
UpdateOpenZFSVolumeConfiguration |
withStorageCapacityReservationGiB(Integer storageCapacityReservationGiB)
The amount of storage in gibibytes (GiB) to reserve from the parent volume.
|
UpdateOpenZFSVolumeConfiguration |
withUserAndGroupQuotas(Collection<OpenZFSUserOrGroupQuota> userAndGroupQuotas)
An object specifying how much storage users or groups can use on the volume.
|
UpdateOpenZFSVolumeConfiguration |
withUserAndGroupQuotas(OpenZFSUserOrGroupQuota... userAndGroupQuotas)
An object specifying how much storage users or groups can use on the 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. You can specify a value of -1
to unset a volume's storage capacity
reservation.
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. You can specify a value of -1
to unset a volume's
storage capacity reservation.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. You can specify a value of -1
to unset a volume's storage capacity
reservation.
-1
to unset a
volume's storage capacity reservation.public UpdateOpenZFSVolumeConfiguration 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. You can specify a value of -1
to unset a volume's storage capacity
reservation.
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. You can specify a value of -1
to unset a volume's
storage capacity reservation.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. You can specify a value of -1
to unset a volume's
storage capacity quota.
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. You can specify a value of -1
to unset
a volume's storage capacity quota.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. You can specify a value of -1
to unset a volume's
storage capacity quota.
-1
to unset
a volume's storage capacity quota.public UpdateOpenZFSVolumeConfiguration 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. You can specify a value of -1
to unset a volume's
storage capacity quota.
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. You can specify a value of -1
to unset
a volume's storage capacity quota.public void setRecordSizeKiB(Integer recordSizeKiB)
Specifies the record size of an OpenZFS volume, in kibibytes (KiB). Valid values are 4, 8, 16, 32, 64, 128, 256, 512, or 1024 KiB. The default is 128 KiB. Most workloads should use the default record size. Database workflows can benefit from a smaller record size, while streaming workflows can benefit from a larger record size. For additional guidance on when to set a custom record size, see Tips for maximizing performance in the Amazon FSx for OpenZFS User Guide.
recordSizeKiB
- Specifies the record size of an OpenZFS volume, in kibibytes (KiB). Valid values are 4, 8, 16, 32, 64,
128, 256, 512, or 1024 KiB. The default is 128 KiB. Most workloads should use the default record size.
Database workflows can benefit from a smaller record size, while streaming workflows can benefit from a
larger record size. For additional guidance on when to set a custom record size, see Tips for
maximizing performance in the Amazon FSx for OpenZFS User Guide.public Integer getRecordSizeKiB()
Specifies the record size of an OpenZFS volume, in kibibytes (KiB). Valid values are 4, 8, 16, 32, 64, 128, 256, 512, or 1024 KiB. The default is 128 KiB. Most workloads should use the default record size. Database workflows can benefit from a smaller record size, while streaming workflows can benefit from a larger record size. For additional guidance on when to set a custom record size, see Tips for maximizing performance in the Amazon FSx for OpenZFS User Guide.
public UpdateOpenZFSVolumeConfiguration withRecordSizeKiB(Integer recordSizeKiB)
Specifies the record size of an OpenZFS volume, in kibibytes (KiB). Valid values are 4, 8, 16, 32, 64, 128, 256, 512, or 1024 KiB. The default is 128 KiB. Most workloads should use the default record size. Database workflows can benefit from a smaller record size, while streaming workflows can benefit from a larger record size. For additional guidance on when to set a custom record size, see Tips for maximizing performance in the Amazon FSx for OpenZFS User Guide.
recordSizeKiB
- Specifies the record size of an OpenZFS volume, in kibibytes (KiB). Valid values are 4, 8, 16, 32, 64,
128, 256, 512, or 1024 KiB. The default is 128 KiB. Most workloads should use the default record size.
Database workflows can benefit from a smaller record size, while streaming workflows can benefit from a
larger record size. For additional guidance on when to set a custom record size, see Tips for
maximizing performance in the Amazon FSx for OpenZFS User Guide.public void setDataCompressionType(String dataCompressionType)
Specifies the method used to compress the data on the volume. The compression type is NONE
by
default.
NONE
- Doesn't compress the data on the volume. NONE
is the default.
ZSTD
- Compresses the data in the volume using the Zstandard (ZSTD) compression algorithm. Compared
to LZ4, Z-Standard provides a better compression ratio to minimize on-disk storage utilization.
LZ4
- Compresses the data in the volume using the LZ4 compression algorithm. Compared to Z-Standard,
LZ4 is less compute-intensive and delivers higher write throughput speeds.
dataCompressionType
- Specifies the method used to compress the data on the volume. The compression type is NONE
by
default.
NONE
- Doesn't compress the data on the volume. NONE
is the default.
ZSTD
- Compresses the data in the volume using the Zstandard (ZSTD) compression algorithm.
Compared to LZ4, Z-Standard provides a better compression ratio to minimize on-disk storage utilization.
LZ4
- Compresses the data in the volume using the LZ4 compression algorithm. Compared to
Z-Standard, LZ4 is less compute-intensive and delivers higher write throughput speeds.
OpenZFSDataCompressionType
public String getDataCompressionType()
Specifies the method used to compress the data on the volume. The compression type is NONE
by
default.
NONE
- Doesn't compress the data on the volume. NONE
is the default.
ZSTD
- Compresses the data in the volume using the Zstandard (ZSTD) compression algorithm. Compared
to LZ4, Z-Standard provides a better compression ratio to minimize on-disk storage utilization.
LZ4
- Compresses the data in the volume using the LZ4 compression algorithm. Compared to Z-Standard,
LZ4 is less compute-intensive and delivers higher write throughput speeds.
NONE
by default.
NONE
- Doesn't compress the data on the volume. NONE
is the default.
ZSTD
- Compresses the data in the volume using the Zstandard (ZSTD) compression algorithm.
Compared to LZ4, Z-Standard provides a better compression ratio to minimize on-disk storage utilization.
LZ4
- Compresses the data in the volume using the LZ4 compression algorithm. Compared to
Z-Standard, LZ4 is less compute-intensive and delivers higher write throughput speeds.
OpenZFSDataCompressionType
public UpdateOpenZFSVolumeConfiguration withDataCompressionType(String dataCompressionType)
Specifies the method used to compress the data on the volume. The compression type is NONE
by
default.
NONE
- Doesn't compress the data on the volume. NONE
is the default.
ZSTD
- Compresses the data in the volume using the Zstandard (ZSTD) compression algorithm. Compared
to LZ4, Z-Standard provides a better compression ratio to minimize on-disk storage utilization.
LZ4
- Compresses the data in the volume using the LZ4 compression algorithm. Compared to Z-Standard,
LZ4 is less compute-intensive and delivers higher write throughput speeds.
dataCompressionType
- Specifies the method used to compress the data on the volume. The compression type is NONE
by
default.
NONE
- Doesn't compress the data on the volume. NONE
is the default.
ZSTD
- Compresses the data in the volume using the Zstandard (ZSTD) compression algorithm.
Compared to LZ4, Z-Standard provides a better compression ratio to minimize on-disk storage utilization.
LZ4
- Compresses the data in the volume using the LZ4 compression algorithm. Compared to
Z-Standard, LZ4 is less compute-intensive and delivers higher write throughput speeds.
OpenZFSDataCompressionType
public UpdateOpenZFSVolumeConfiguration withDataCompressionType(OpenZFSDataCompressionType dataCompressionType)
Specifies the method used to compress the data on the volume. The compression type is NONE
by
default.
NONE
- Doesn't compress the data on the volume. NONE
is the default.
ZSTD
- Compresses the data in the volume using the Zstandard (ZSTD) compression algorithm. Compared
to LZ4, Z-Standard provides a better compression ratio to minimize on-disk storage utilization.
LZ4
- Compresses the data in the volume using the LZ4 compression algorithm. Compared to Z-Standard,
LZ4 is less compute-intensive and delivers higher write throughput speeds.
dataCompressionType
- Specifies the method used to compress the data on the volume. The compression type is NONE
by
default.
NONE
- Doesn't compress the data on the volume. NONE
is the default.
ZSTD
- Compresses the data in the volume using the Zstandard (ZSTD) compression algorithm.
Compared to LZ4, Z-Standard provides a better compression ratio to minimize on-disk storage utilization.
LZ4
- Compresses the data in the volume using the LZ4 compression algorithm. Compared to
Z-Standard, LZ4 is less compute-intensive and delivers higher write throughput speeds.
OpenZFSDataCompressionType
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 UpdateOpenZFSVolumeConfiguration 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 UpdateOpenZFSVolumeConfiguration 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 UpdateOpenZFSVolumeConfiguration 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 UpdateOpenZFSVolumeConfiguration 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 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 UpdateOpenZFSVolumeConfiguration 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 String toString()
toString
in class Object
Object.toString()
public UpdateOpenZFSVolumeConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.