public static interface OpenZFSVolumeConfiguration.Builder extends SdkPojo, CopyableBuilder<OpenZFSVolumeConfiguration.Builder,OpenZFSVolumeConfiguration>
| Modifier and Type | Method and Description |
|---|---|
OpenZFSVolumeConfiguration.Builder |
copyTagsToSnapshots(Boolean copyTagsToSnapshots)
A Boolean value indicating whether tags for the volume should be copied to snapshots.
|
OpenZFSVolumeConfiguration.Builder |
dataCompressionType(OpenZFSDataCompressionType dataCompressionType)
Specifies the method used to compress the data on the volume.
|
OpenZFSVolumeConfiguration.Builder |
dataCompressionType(String dataCompressionType)
Specifies the method used to compress the data on the volume.
|
OpenZFSVolumeConfiguration.Builder |
deleteClonedVolumes(Boolean deleteClonedVolumes)
A Boolean value indicating whether dependent clone volumes created from intermediate snapshots should be
deleted when a volume is restored from snapshot.
|
OpenZFSVolumeConfiguration.Builder |
deleteIntermediateSnaphots(Boolean deleteIntermediateSnaphots)
A Boolean value indicating whether snapshots between the current state and the specified snapshot should be
deleted when a volume is restored from snapshot.
|
OpenZFSVolumeConfiguration.Builder |
nfsExports(Collection<OpenZFSNfsExport> nfsExports)
The configuration object for mounting a Network File System (NFS) file system.
|
OpenZFSVolumeConfiguration.Builder |
nfsExports(Consumer<OpenZFSNfsExport.Builder>... nfsExports)
The configuration object for mounting a Network File System (NFS) file system.
|
OpenZFSVolumeConfiguration.Builder |
nfsExports(OpenZFSNfsExport... nfsExports)
The configuration object for mounting a Network File System (NFS) file system.
|
default OpenZFSVolumeConfiguration.Builder |
originSnapshot(Consumer<OpenZFSOriginSnapshotConfiguration.Builder> originSnapshot)
The configuration object that specifies the snapshot to use as the origin of the data for the volume.
|
OpenZFSVolumeConfiguration.Builder |
originSnapshot(OpenZFSOriginSnapshotConfiguration originSnapshot)
The configuration object that specifies the snapshot to use as the origin of the data for the volume.
|
OpenZFSVolumeConfiguration.Builder |
parentVolumeId(String parentVolumeId)
The ID of the parent volume.
|
OpenZFSVolumeConfiguration.Builder |
readOnly(Boolean readOnly)
A Boolean value indicating whether the volume is read-only.
|
OpenZFSVolumeConfiguration.Builder |
recordSizeKiB(Integer recordSizeKiB)
The record size of an OpenZFS volume, in kibibytes (KiB).
|
OpenZFSVolumeConfiguration.Builder |
restoreToSnapshot(String restoreToSnapshot)
Specifies the ID of the snapshot to which the volume was restored.
|
OpenZFSVolumeConfiguration.Builder |
storageCapacityQuotaGiB(Integer storageCapacityQuotaGiB)
The maximum amount of storage in gibibtyes (GiB) that the volume can use from its parent.
|
OpenZFSVolumeConfiguration.Builder |
storageCapacityReservationGiB(Integer storageCapacityReservationGiB)
The amount of storage in gibibytes (GiB) to reserve from the parent volume.
|
OpenZFSVolumeConfiguration.Builder |
userAndGroupQuotas(Collection<OpenZFSUserOrGroupQuota> userAndGroupQuotas)
An object specifying how much storage users or groups can use on the volume.
|
OpenZFSVolumeConfiguration.Builder |
userAndGroupQuotas(Consumer<OpenZFSUserOrGroupQuota.Builder>... userAndGroupQuotas)
An object specifying how much storage users or groups can use on the volume.
|
OpenZFSVolumeConfiguration.Builder |
userAndGroupQuotas(OpenZFSUserOrGroupQuota... userAndGroupQuotas)
An object specifying how much storage users or groups can use on the volume.
|
OpenZFSVolumeConfiguration.Builder |
volumePath(String volumePath)
The path to the volume from the root volume.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildOpenZFSVolumeConfiguration.Builder parentVolumeId(String parentVolumeId)
The ID of the parent volume.
parentVolumeId - The ID of the parent volume.OpenZFSVolumeConfiguration.Builder volumePath(String volumePath)
The path to the volume from the root volume. For example, fsx/parentVolume/volume1.
volumePath - The path to the volume from the root volume. For example, fsx/parentVolume/volume1.OpenZFSVolumeConfiguration.Builder storageCapacityReservationGiB(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.OpenZFSVolumeConfiguration.Builder storageCapacityQuotaGiB(Integer storageCapacityQuotaGiB)
The maximum amount of storage in gibibtyes (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 gibibtyes (GiB) that the volume can use from its parent. You can
specify a quota larger than the storage on the parent volume.OpenZFSVolumeConfiguration.Builder recordSizeKiB(Integer recordSizeKiB)
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. For guidance on when to set a custom record size, see the Amazon FSx for OpenZFS User Guide.
recordSizeKiB - 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. For
guidance on when to set a custom record size, see the Amazon FSx for OpenZFS User Guide.OpenZFSVolumeConfiguration.Builder dataCompressionType(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,
OpenZFSDataCompressionTypeOpenZFSVolumeConfiguration.Builder dataCompressionType(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,
OpenZFSDataCompressionTypeOpenZFSVolumeConfiguration.Builder copyTagsToSnapshots(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.OpenZFSVolumeConfiguration.Builder originSnapshot(OpenZFSOriginSnapshotConfiguration 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.default OpenZFSVolumeConfiguration.Builder originSnapshot(Consumer<OpenZFSOriginSnapshotConfiguration.Builder> originSnapshot)
The configuration object that specifies the snapshot to use as the origin of the data for the volume.
This is a convenience method that creates an instance of theOpenZFSOriginSnapshotConfiguration.Builder avoiding the need to create one manually via
OpenZFSOriginSnapshotConfiguration.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to originSnapshot(OpenZFSOriginSnapshotConfiguration).
originSnapshot - a consumer that will call methods on OpenZFSOriginSnapshotConfiguration.BuilderoriginSnapshot(OpenZFSOriginSnapshotConfiguration)OpenZFSVolumeConfiguration.Builder readOnly(Boolean readOnly)
A Boolean value indicating whether the volume is read-only.
readOnly - A Boolean value indicating whether the volume is read-only.OpenZFSVolumeConfiguration.Builder nfsExports(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.OpenZFSVolumeConfiguration.Builder nfsExports(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.OpenZFSVolumeConfiguration.Builder nfsExports(Consumer<OpenZFSNfsExport.Builder>... nfsExports)
The configuration object for mounting a Network File System (NFS) file system.
This is a convenience method that creates an instance of theOpenZFSNfsExport.Builder avoiding the need to create one
manually via OpenZFSNfsExport.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and
its result is passed to #nfsExports(List.
nfsExports - a consumer that will call methods on
OpenZFSNfsExport.Builder#nfsExports(java.util.Collection) OpenZFSVolumeConfiguration.Builder userAndGroupQuotas(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.OpenZFSVolumeConfiguration.Builder userAndGroupQuotas(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.OpenZFSVolumeConfiguration.Builder userAndGroupQuotas(Consumer<OpenZFSUserOrGroupQuota.Builder>... userAndGroupQuotas)
An object specifying how much storage users or groups can use on the volume.
This is a convenience method that creates an instance of theOpenZFSUserOrGroupQuota.Builder avoiding the need to create
one manually via OpenZFSUserOrGroupQuota.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #userAndGroupQuotas(List.
userAndGroupQuotas - a consumer that will call methods on
OpenZFSUserOrGroupQuota.Builder#userAndGroupQuotas(java.util.Collection) OpenZFSVolumeConfiguration.Builder restoreToSnapshot(String restoreToSnapshot)
Specifies the ID of the snapshot to which the volume was restored.
restoreToSnapshot - Specifies the ID of the snapshot to which the volume was restored.OpenZFSVolumeConfiguration.Builder deleteIntermediateSnaphots(Boolean deleteIntermediateSnaphots)
A Boolean value indicating whether snapshots between the current state and the specified snapshot should be deleted when a volume is restored from snapshot.
deleteIntermediateSnaphots - A Boolean value indicating whether snapshots between the current state and the specified snapshot
should be deleted when a volume is restored from snapshot.OpenZFSVolumeConfiguration.Builder deleteClonedVolumes(Boolean deleteClonedVolumes)
A Boolean value indicating whether dependent clone volumes created from intermediate snapshots should be deleted when a volume is restored from snapshot.
deleteClonedVolumes - A Boolean value indicating whether dependent clone volumes created from intermediate snapshots should
be deleted when a volume is restored from snapshot.Copyright © 2023. All rights reserved.