Class CfnVolumePropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.fsx.CfnVolumePropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnVolumePropsMixin>
- Enclosing class:
CfnVolumePropsMixin
@Stability(Stable)
public static final class CfnVolumePropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnVolumePropsMixin>
A fluent builder for
CfnVolumePropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionSpecifies the ID of the volume backup to use to create a new volume.build()static CfnVolumePropsMixin.Buildercreate()static CfnVolumePropsMixin.Buildercreate(CfnPropertyMixinOptions options) The name of the volume.ontapConfiguration(CfnVolumePropsMixin.OntapConfigurationProperty ontapConfiguration) The configuration of an Amazon FSx for NetApp ONTAP volume.ontapConfiguration(IResolvable ontapConfiguration) The configuration of an Amazon FSx for NetApp ONTAP volume.openZfsConfiguration(CfnVolumePropsMixin.OpenZFSConfigurationProperty openZfsConfiguration) The configuration of an Amazon FSx for OpenZFS volume.openZfsConfiguration(IResolvable 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 CfnVolumePropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnVolumePropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnVolumePropsMixin.Builder.
-
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:
-
name
The name of the volume.- Parameters:
name- The name of the volume. This parameter is required.- Returns:
this- See Also:
-
ontapConfiguration
@Stability(Stable) public CfnVolumePropsMixin.Builder ontapConfiguration(IResolvable 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 CfnVolumePropsMixin.Builder ontapConfiguration(CfnVolumePropsMixin.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
@Stability(Stable) public CfnVolumePropsMixin.Builder openZfsConfiguration(IResolvable 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 CfnVolumePropsMixin.Builder openZfsConfiguration(CfnVolumePropsMixin.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
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnVolumePropsMixin>- Returns:
- a newly built instance of
CfnVolumePropsMixin.
-