Class ContainerAwsClusterControlPlaneRootVolume.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.container_aws_cluster.ContainerAwsClusterControlPlaneRootVolume.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<ContainerAwsClusterControlPlaneRootVolume>
- Enclosing interface:
- ContainerAwsClusterControlPlaneRootVolume
@Stability(Stable) public static final class ContainerAwsClusterControlPlaneRootVolume.Builder extends Object implements software.amazon.jsii.Builder<ContainerAwsClusterControlPlaneRootVolume>
A builder forContainerAwsClusterControlPlaneRootVolume
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ContainerAwsClusterControlPlaneRootVolumebuild()Builds the configured instance.ContainerAwsClusterControlPlaneRootVolume.Builderiops(Number iops)Sets the value ofContainerAwsClusterControlPlaneRootVolume.getIops()ContainerAwsClusterControlPlaneRootVolume.BuilderkmsKeyArn(String kmsKeyArn)Sets the value ofContainerAwsClusterControlPlaneRootVolume.getKmsKeyArn()ContainerAwsClusterControlPlaneRootVolume.BuildersizeGib(Number sizeGib)Sets the value ofContainerAwsClusterControlPlaneRootVolume.getSizeGib()ContainerAwsClusterControlPlaneRootVolume.Builderthroughput(Number throughput)Sets the value ofContainerAwsClusterControlPlaneRootVolume.getThroughput()ContainerAwsClusterControlPlaneRootVolume.BuildervolumeType(String volumeType)Sets the value ofContainerAwsClusterControlPlaneRootVolume.getVolumeType()
-
-
-
Method Detail
-
iops
@Stability(Stable) public ContainerAwsClusterControlPlaneRootVolume.Builder iops(Number iops)
Sets the value ofContainerAwsClusterControlPlaneRootVolume.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_cluster#iops ContainerAwsCluster#iops}- Returns:
this
-
kmsKeyArn
@Stability(Stable) public ContainerAwsClusterControlPlaneRootVolume.Builder kmsKeyArn(String kmsKeyArn)
Sets the value ofContainerAwsClusterControlPlaneRootVolume.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_cluster#kms_key_arn ContainerAwsCluster#kms_key_arn}- Returns:
this
-
sizeGib
@Stability(Stable) public ContainerAwsClusterControlPlaneRootVolume.Builder sizeGib(Number sizeGib)
Sets the value ofContainerAwsClusterControlPlaneRootVolume.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_cluster#size_gib ContainerAwsCluster#size_gib}- Returns:
this
-
throughput
@Stability(Stable) public ContainerAwsClusterControlPlaneRootVolume.Builder throughput(Number throughput)
Sets the value ofContainerAwsClusterControlPlaneRootVolume.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_cluster#throughput ContainerAwsCluster#throughput}- Returns:
this
-
volumeType
@Stability(Stable) public ContainerAwsClusterControlPlaneRootVolume.Builder volumeType(String volumeType)
Sets the value ofContainerAwsClusterControlPlaneRootVolume.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_cluster#volume_type ContainerAwsCluster#volume_type}- Returns:
this
-
build
@Stability(Stable) public ContainerAwsClusterControlPlaneRootVolume build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ContainerAwsClusterControlPlaneRootVolume>- Returns:
- a new instance of
ContainerAwsClusterControlPlaneRootVolume - Throws:
NullPointerException- if any required attribute was not provided
-
-