@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class OpenZFSCreateRootVolumeConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
The configuration of an Amazon FSx for OpenZFS root volume.
Constructor and Description |
---|
OpenZFSCreateRootVolumeConfiguration() |
Modifier and Type | Method and Description |
---|---|
OpenZFSCreateRootVolumeConfiguration |
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 file system.
|
Boolean |
getReadOnly()
A Boolean value indicating whether the volume is read-only.
|
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 file system.
|
void |
setReadOnly(Boolean readOnly)
A Boolean value indicating whether the volume is read-only.
|
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.
|
OpenZFSCreateRootVolumeConfiguration |
withCopyTagsToSnapshots(Boolean copyTagsToSnapshots)
A Boolean value indicating whether tags for the volume should be copied to snapshots.
|
OpenZFSCreateRootVolumeConfiguration |
withDataCompressionType(OpenZFSDataCompressionType dataCompressionType)
Specifies the method used to compress the data on the volume.
|
OpenZFSCreateRootVolumeConfiguration |
withDataCompressionType(String dataCompressionType)
Specifies the method used to compress the data on the volume.
|
OpenZFSCreateRootVolumeConfiguration |
withNfsExports(Collection<OpenZFSNfsExport> nfsExports)
The configuration object for mounting a file system.
|
OpenZFSCreateRootVolumeConfiguration |
withNfsExports(OpenZFSNfsExport... nfsExports)
The configuration object for mounting a file system.
|
OpenZFSCreateRootVolumeConfiguration |
withReadOnly(Boolean readOnly)
A Boolean value indicating whether the volume is read-only.
|
OpenZFSCreateRootVolumeConfiguration |
withUserAndGroupQuotas(Collection<OpenZFSUserOrGroupQuota> userAndGroupQuotas)
An object specifying how much storage users or groups can use on the volume.
|
OpenZFSCreateRootVolumeConfiguration |
withUserAndGroupQuotas(OpenZFSUserOrGroupQuota... userAndGroupQuotas)
An object specifying how much storage users or groups can use on the volume.
|
public OpenZFSCreateRootVolumeConfiguration()
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 OpenZFSCreateRootVolumeConfiguration 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 OpenZFSCreateRootVolumeConfiguration 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 List<OpenZFSNfsExport> getNfsExports()
The configuration object for mounting a file system.
public void setNfsExports(Collection<OpenZFSNfsExport> nfsExports)
The configuration object for mounting a file system.
nfsExports
- The configuration object for mounting a file system.public OpenZFSCreateRootVolumeConfiguration withNfsExports(OpenZFSNfsExport... nfsExports)
The configuration object for mounting a 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 file system.public OpenZFSCreateRootVolumeConfiguration withNfsExports(Collection<OpenZFSNfsExport> nfsExports)
The configuration object for mounting a file system.
nfsExports
- The configuration object for mounting a 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 OpenZFSCreateRootVolumeConfiguration 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 OpenZFSCreateRootVolumeConfiguration 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 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 OpenZFSCreateRootVolumeConfiguration 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 setReadOnly(Boolean readOnly)
A Boolean value indicating whether the volume is read-only. Setting this value to true
can be useful
after you have completed changes to a volume and no longer want changes to occur.
readOnly
- A Boolean value indicating whether the volume is read-only. Setting this value to true
can be
useful after you have completed changes to a volume and no longer want changes to occur.public Boolean getReadOnly()
A Boolean value indicating whether the volume is read-only. Setting this value to true
can be useful
after you have completed changes to a volume and no longer want changes to occur.
true
can
be useful after you have completed changes to a volume and no longer want changes to occur.public OpenZFSCreateRootVolumeConfiguration withReadOnly(Boolean readOnly)
A Boolean value indicating whether the volume is read-only. Setting this value to true
can be useful
after you have completed changes to a volume and no longer want changes to occur.
readOnly
- A Boolean value indicating whether the volume is read-only. Setting this value to true
can be
useful after you have completed changes to a volume and no longer want changes to occur.public Boolean isReadOnly()
A Boolean value indicating whether the volume is read-only. Setting this value to true
can be useful
after you have completed changes to a volume and no longer want changes to occur.
true
can
be useful after you have completed changes to a volume and no longer want changes to occur.public String toString()
toString
in class Object
Object.toString()
public OpenZFSCreateRootVolumeConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.