Class CfnVolume.Builder
java.lang.Object
software.amazon.awscdk.services.fsx.CfnVolume.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnVolume>
- Enclosing class:
CfnVolume
@Stability(Stable)
public static final class CfnVolume.Builder
extends Object
implements software.amazon.jsii.Builder<CfnVolume>
A fluent builder for
CfnVolume
.-
Method Summary
Modifier and TypeMethodDescriptionSpecifies the ID of the volume backup to use to create a new volume.build()
static CfnVolume.Builder
The name of the volume.ontapConfiguration
(IResolvable ontapConfiguration) The configuration of an Amazon FSx for NetApp ONTAP volume.ontapConfiguration
(CfnVolume.OntapConfigurationProperty ontapConfiguration) The configuration of an Amazon FSx for NetApp ONTAP volume.openZfsConfiguration
(IResolvable openZfsConfiguration) The configuration of an Amazon FSx for OpenZFS volume.openZfsConfiguration
(CfnVolume.OpenZFSConfigurationProperty openZfsConfiguration) The configuration of an Amazon FSx for OpenZFS volume.An array of key-value pairs to apply to this resource.volumeType
(String volumeType) The type of the volume.
-
Method Details
-
create
@Stability(Stable) public static CfnVolume.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnVolume.Builder
.
-
name
The name of the volume.- Parameters:
name
- The name of the volume. This parameter is required.- Returns:
this
- See Also:
-
backupId
Specifies the ID of the volume backup to use to create a new volume.- Parameters:
backupId
- Specifies the ID of the volume backup to use to create a new volume. This parameter is required.- Returns:
this
- See Also:
-
ontapConfiguration
The configuration of an Amazon FSx for NetApp ONTAP volume.- Parameters:
ontapConfiguration
- The configuration of an Amazon FSx for NetApp ONTAP volume. This parameter is required.- Returns:
this
- See Also:
-
ontapConfiguration
@Stability(Stable) public CfnVolume.Builder ontapConfiguration(CfnVolume.OntapConfigurationProperty ontapConfiguration) The configuration of an Amazon FSx for NetApp ONTAP volume.- Parameters:
ontapConfiguration
- The configuration of an Amazon FSx for NetApp ONTAP volume. This parameter is required.- Returns:
this
- See Also:
-
openZfsConfiguration
The configuration of an Amazon FSx for OpenZFS volume.- Parameters:
openZfsConfiguration
- The configuration of an Amazon FSx for OpenZFS volume. This parameter is required.- Returns:
this
- See Also:
-
openZfsConfiguration
@Stability(Stable) public CfnVolume.Builder openZfsConfiguration(CfnVolume.OpenZFSConfigurationProperty openZfsConfiguration) The configuration of an Amazon FSx for OpenZFS volume.- Parameters:
openZfsConfiguration
- The configuration of an Amazon FSx for OpenZFS volume. This parameter is required.- Returns:
this
- See Also:
-
tags
An array of key-value pairs to apply to this resource.For more information, see Tag .
- Parameters:
tags
- An array of key-value pairs to apply to this resource. This parameter is required.- Returns:
this
- See Also:
-
volumeType
The type of the volume.- Parameters:
volumeType
- The type of the volume. This parameter is required.- Returns:
this
- See Also:
-
build
-