Class ContainerAwsNodePoolConfigRootVolume.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.container_aws_node_pool.ContainerAwsNodePoolConfigRootVolume.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<ContainerAwsNodePoolConfigRootVolume>
- Enclosing interface:
- ContainerAwsNodePoolConfigRootVolume
@Stability(Stable) public static final class ContainerAwsNodePoolConfigRootVolume.Builder extends Object implements software.amazon.jsii.Builder<ContainerAwsNodePoolConfigRootVolume>
A builder forContainerAwsNodePoolConfigRootVolume
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ContainerAwsNodePoolConfigRootVolumebuild()Builds the configured instance.ContainerAwsNodePoolConfigRootVolume.Builderiops(Number iops)Sets the value ofContainerAwsNodePoolConfigRootVolume.getIops()ContainerAwsNodePoolConfigRootVolume.BuilderkmsKeyArn(String kmsKeyArn)Sets the value ofContainerAwsNodePoolConfigRootVolume.getKmsKeyArn()ContainerAwsNodePoolConfigRootVolume.BuildersizeGib(Number sizeGib)Sets the value ofContainerAwsNodePoolConfigRootVolume.getSizeGib()ContainerAwsNodePoolConfigRootVolume.Builderthroughput(Number throughput)Sets the value ofContainerAwsNodePoolConfigRootVolume.getThroughput()ContainerAwsNodePoolConfigRootVolume.BuildervolumeType(String volumeType)Sets the value ofContainerAwsNodePoolConfigRootVolume.getVolumeType()
-
-
-
Method Detail
-
iops
@Stability(Stable) public ContainerAwsNodePoolConfigRootVolume.Builder iops(Number iops)
Sets the value ofContainerAwsNodePoolConfigRootVolume.getIops()- Parameters:
iops- Optional. The number of I/O operations per second (IOPS) to provision for GP3 volume. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_aws_node_pool#iops ContainerAwsNodePool#iops}- Returns:
this
-
kmsKeyArn
@Stability(Stable) public ContainerAwsNodePoolConfigRootVolume.Builder kmsKeyArn(String kmsKeyArn)
Sets the value ofContainerAwsNodePoolConfigRootVolume.getKmsKeyArn()- Parameters:
kmsKeyArn- Optional. The Amazon Resource Name (ARN) of the Customer Managed Key (CMK) used to encrypt AWS EBS volumes. If not specified, the default Amazon managed key associated to the AWS region where this cluster runs will be used. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_aws_node_pool#kms_key_arn ContainerAwsNodePool#kms_key_arn}- Returns:
this
-
sizeGib
@Stability(Stable) public ContainerAwsNodePoolConfigRootVolume.Builder sizeGib(Number sizeGib)
Sets the value ofContainerAwsNodePoolConfigRootVolume.getSizeGib()- Parameters:
sizeGib- Optional. The size of the volume, in GiBs. When unspecified, a default value is provided. See the specific reference in the parent resource. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_aws_node_pool#size_gib ContainerAwsNodePool#size_gib}- Returns:
this
-
throughput
@Stability(Stable) public ContainerAwsNodePoolConfigRootVolume.Builder throughput(Number throughput)
Sets the value ofContainerAwsNodePoolConfigRootVolume.getThroughput()- Parameters:
throughput- Optional. The throughput to provision for the volume, in MiB/s. Only valid if the volume type is GP3. If volume type is gp3 and throughput is not specified, the throughput will defaults to 125. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_aws_node_pool#throughput ContainerAwsNodePool#throughput}- Returns:
this
-
volumeType
@Stability(Stable) public ContainerAwsNodePoolConfigRootVolume.Builder volumeType(String volumeType)
Sets the value ofContainerAwsNodePoolConfigRootVolume.getVolumeType()- Parameters:
volumeType- Optional. Type of the EBS volume. When unspecified, it defaults to GP2 volume. Possible values: VOLUME_TYPE_UNSPECIFIED, GP2, GP3. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_aws_node_pool#volume_type ContainerAwsNodePool#volume_type}- Returns:
this
-
build
@Stability(Stable) public ContainerAwsNodePoolConfigRootVolume build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ContainerAwsNodePoolConfigRootVolume>- Returns:
- a new instance of
ContainerAwsNodePoolConfigRootVolume - Throws:
NullPointerException- if any required attribute was not provided
-
-