Class ContainerAwsNodePoolConfigSshConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.container_aws_node_pool.ContainerAwsNodePoolConfigSshConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<ContainerAwsNodePoolConfigSshConfig>
- Enclosing interface:
- ContainerAwsNodePoolConfigSshConfig
@Stability(Stable) public static final class ContainerAwsNodePoolConfigSshConfig.Builder extends Object implements software.amazon.jsii.Builder<ContainerAwsNodePoolConfigSshConfig>
A builder forContainerAwsNodePoolConfigSshConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ContainerAwsNodePoolConfigSshConfigbuild()Builds the configured instance.ContainerAwsNodePoolConfigSshConfig.Builderec2KeyPair(String ec2KeyPair)Sets the value ofContainerAwsNodePoolConfigSshConfig.getEc2KeyPair()
-
-
-
Method Detail
-
ec2KeyPair
@Stability(Stable) public ContainerAwsNodePoolConfigSshConfig.Builder ec2KeyPair(String ec2KeyPair)
Sets the value ofContainerAwsNodePoolConfigSshConfig.getEc2KeyPair()- Parameters:
ec2KeyPair- The name of the EC2 key pair used to login into cluster machines. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_aws_node_pool#ec2_key_pair ContainerAwsNodePool#ec2_key_pair}- Returns:
this
-
build
@Stability(Stable) public ContainerAwsNodePoolConfigSshConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ContainerAwsNodePoolConfigSshConfig>- Returns:
- a new instance of
ContainerAwsNodePoolConfigSshConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-