@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:39.454Z") @Stability(value=Stable) public interface CfnVolumeProps 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.*;
CfnVolumeProps cfnVolumeProps = CfnVolumeProps.builder()
.name("name")
// the properties below are optional
.backupId("backupId")
.ontapConfiguration(OntapConfigurationProperty.builder()
.junctionPath("junctionPath")
.sizeInMegabytes("sizeInMegabytes")
.storageEfficiencyEnabled("storageEfficiencyEnabled")
.storageVirtualMachineId("storageVirtualMachineId")
// the properties below are optional
.securityStyle("securityStyle")
.tieringPolicy(TieringPolicyProperty.builder()
.coolingPeriod(123)
.name("name")
.build())
.build())
.openZfsConfiguration(OpenZFSConfigurationProperty.builder()
.parentVolumeId("parentVolumeId")
// the properties below are optional
.copyTagsToSnapshots(false)
.dataCompressionType("dataCompressionType")
.nfsExports(List.of(NfsExportsProperty.builder()
.clientConfigurations(List.of(ClientConfigurationsProperty.builder()
.clients("clients")
.options(List.of("options"))
.build()))
.build()))
.options(List.of("options"))
.originSnapshot(OriginSnapshotProperty.builder()
.copyStrategy("copyStrategy")
.snapshotArn("snapshotArn")
.build())
.readOnly(false)
.recordSizeKiB(123)
.storageCapacityQuotaGiB(123)
.storageCapacityReservationGiB(123)
.userAndGroupQuotas(List.of(UserAndGroupQuotasProperty.builder()
.id(123)
.storageCapacityQuotaGiB(123)
.type("type")
.build()))
.build())
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.volumeType("volumeType")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnVolumeProps.Builder
A builder for
CfnVolumeProps |
static class |
CfnVolumeProps.Jsii$Proxy
An implementation for
CfnVolumeProps |
| Modifier and Type | Method and Description |
|---|---|
static CfnVolumeProps.Builder |
builder() |
default String |
getBackupId()
Specifies the ID of the volume backup to use to create a new volume.
|
String |
getName()
The name of the volume.
|
default Object |
getOntapConfiguration()
The configuration of an Amazon FSx for NetApp ONTAP volume.
|
default Object |
getOpenZfsConfiguration()
The configuration of an Amazon FSx for OpenZFS volume.
|
default List<CfnTag> |
getTags()
An array of key-value pairs to apply to this resource.
|
default String |
getVolumeType()
The type of the volume.
|
@Stability(value=Stable) @NotNull String getName()
@Stability(value=Stable) @Nullable default String getBackupId()
@Stability(value=Stable) @Nullable default Object getOntapConfiguration()
@Stability(value=Stable) @Nullable default Object getOpenZfsConfiguration()
@Stability(value=Stable) @Nullable default List<CfnTag> getTags()
For more information, see Tag .
@Stability(value=Stable) @Nullable default String getVolumeType()
@Stability(value=Stable) static CfnVolumeProps.Builder builder()
CfnVolumeProps.Builder of CfnVolumePropsCopyright © 2022. All rights reserved.