@Stability(value=Stable)
public static interface CfnFileSystem.RootVolumeConfigurationProperty
extends software.amazon.jsii.JsiiSerializable
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.fsx.*;
RootVolumeConfigurationProperty rootVolumeConfigurationProperty = RootVolumeConfigurationProperty.builder()
.copyTagsToSnapshots(false)
.dataCompressionType("dataCompressionType")
.nfsExports(List.of(NfsExportsProperty.builder()
.clientConfigurations(List.of(ClientConfigurationsProperty.builder()
.clients("clients")
.options(List.of("options"))
.build()))
.build()))
.readOnly(false)
.userAndGroupQuotas(List.of(UserAndGroupQuotasProperty.builder()
.id(123)
.storageCapacityQuotaGiB(123)
.type("type")
.build()))
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnFileSystem.RootVolumeConfigurationProperty.Builder
A builder for
CfnFileSystem.RootVolumeConfigurationProperty |
static class |
CfnFileSystem.RootVolumeConfigurationProperty.Jsii$Proxy
An implementation for
CfnFileSystem.RootVolumeConfigurationProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnFileSystem.RootVolumeConfigurationProperty.Builder |
builder() |
default Object |
getCopyTagsToSnapshots()
A Boolean value indicating whether tags for the volume should be copied to snapshots.
|
default String |
getDataCompressionType()
Specifies the method used to compress the data on the volume.
|
default Object |
getNfsExports()
The configuration object for mounting a file system.
|
default Object |
getReadOnly()
A Boolean value indicating whether the volume is read-only.
|
default Object |
getUserAndGroupQuotas()
An object specifying how much storage users or groups can use on the volume.
|
@Stability(value=Stable) @Nullable default Object getCopyTagsToSnapshots()
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.
@Stability(value=Stable) @Nullable default String getDataCompressionType()
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.@Stability(value=Stable) @Nullable default Object getNfsExports()
@Stability(value=Stable) @Nullable default Object getReadOnly()
Setting this value to true can be useful after you have completed changes to a volume and no longer want changes to occur.
@Stability(value=Stable) @Nullable default Object getUserAndGroupQuotas()
@Stability(value=Stable) static CfnFileSystem.RootVolumeConfigurationProperty.Builder builder()
Copyright © 2022. All rights reserved.