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