Class OpsworksStaticWebLayerEbsVolume.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.aws.opsworks_static_web_layer.OpsworksStaticWebLayerEbsVolume.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<OpsworksStaticWebLayerEbsVolume>
- Enclosing interface:
- OpsworksStaticWebLayerEbsVolume
@Stability(Stable) public static final class OpsworksStaticWebLayerEbsVolume.Builder extends Object implements software.amazon.jsii.Builder<OpsworksStaticWebLayerEbsVolume>
A builder forOpsworksStaticWebLayerEbsVolume
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
mountPoint
@Stability(Stable) public OpsworksStaticWebLayerEbsVolume.Builder mountPoint(String mountPoint)
Sets the value ofOpsworksStaticWebLayerEbsVolume.getMountPoint()- Parameters:
mountPoint- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/opsworks_static_web_layer#mount_point OpsworksStaticWebLayer#mount_point}. This parameter is required.- Returns:
this
-
numberOfDisks
@Stability(Stable) public OpsworksStaticWebLayerEbsVolume.Builder numberOfDisks(Number numberOfDisks)
Sets the value ofOpsworksStaticWebLayerEbsVolume.getNumberOfDisks()- Parameters:
numberOfDisks- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/opsworks_static_web_layer#number_of_disks OpsworksStaticWebLayer#number_of_disks}. This parameter is required.- Returns:
this
-
size
@Stability(Stable) public OpsworksStaticWebLayerEbsVolume.Builder size(Number size)
Sets the value ofOpsworksStaticWebLayerEbsVolume.getSize()- Parameters:
size- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/opsworks_static_web_layer#size OpsworksStaticWebLayer#size}. This parameter is required.- Returns:
this
-
encrypted
@Stability(Stable) public OpsworksStaticWebLayerEbsVolume.Builder encrypted(Boolean encrypted)
Sets the value ofOpsworksStaticWebLayerEbsVolume.getEncrypted()- Parameters:
encrypted- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/opsworks_static_web_layer#encrypted OpsworksStaticWebLayer#encrypted}.- Returns:
this
-
encrypted
@Stability(Stable) public OpsworksStaticWebLayerEbsVolume.Builder encrypted(com.hashicorp.cdktf.IResolvable encrypted)
Sets the value ofOpsworksStaticWebLayerEbsVolume.getEncrypted()- Parameters:
encrypted- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/opsworks_static_web_layer#encrypted OpsworksStaticWebLayer#encrypted}.- Returns:
this
-
iops
@Stability(Stable) public OpsworksStaticWebLayerEbsVolume.Builder iops(Number iops)
Sets the value ofOpsworksStaticWebLayerEbsVolume.getIops()- Parameters:
iops- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/opsworks_static_web_layer#iops OpsworksStaticWebLayer#iops}.- Returns:
this
-
raidLevel
@Stability(Stable) public OpsworksStaticWebLayerEbsVolume.Builder raidLevel(String raidLevel)
Sets the value ofOpsworksStaticWebLayerEbsVolume.getRaidLevel()- Parameters:
raidLevel- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/opsworks_static_web_layer#raid_level OpsworksStaticWebLayer#raid_level}.- Returns:
this
-
type
@Stability(Stable) public OpsworksStaticWebLayerEbsVolume.Builder type(String type)
Sets the value ofOpsworksStaticWebLayerEbsVolume.getType()- Parameters:
type- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/opsworks_static_web_layer#type OpsworksStaticWebLayer#type}.- Returns:
this
-
build
@Stability(Stable) public OpsworksStaticWebLayerEbsVolume build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<OpsworksStaticWebLayerEbsVolume>- Returns:
- a new instance of
OpsworksStaticWebLayerEbsVolume - Throws:
NullPointerException- if any required attribute was not provided
-
-