Class ContainerAwsClusterControlPlaneAwsServicesAuthentication.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.container_aws_cluster.ContainerAwsClusterControlPlaneAwsServicesAuthentication.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<ContainerAwsClusterControlPlaneAwsServicesAuthentication>
- Enclosing interface:
- ContainerAwsClusterControlPlaneAwsServicesAuthentication
@Stability(Stable) public static final class ContainerAwsClusterControlPlaneAwsServicesAuthentication.Builder extends Object implements software.amazon.jsii.Builder<ContainerAwsClusterControlPlaneAwsServicesAuthentication>
A builder forContainerAwsClusterControlPlaneAwsServicesAuthentication
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ContainerAwsClusterControlPlaneAwsServicesAuthenticationbuild()Builds the configured instance.ContainerAwsClusterControlPlaneAwsServicesAuthentication.BuilderroleArn(String roleArn)Sets the value ofContainerAwsClusterControlPlaneAwsServicesAuthentication.getRoleArn()ContainerAwsClusterControlPlaneAwsServicesAuthentication.BuilderroleSessionName(String roleSessionName)
-
-
-
Method Detail
-
roleArn
@Stability(Stable) public ContainerAwsClusterControlPlaneAwsServicesAuthentication.Builder roleArn(String roleArn)
Sets the value ofContainerAwsClusterControlPlaneAwsServicesAuthentication.getRoleArn()- Parameters:
roleArn- The Amazon Resource Name (ARN) of the role that the Anthos Multi-Cloud API will assume when managing AWS resources on your account. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_aws_cluster#role_arn ContainerAwsCluster#role_arn}- Returns:
this
-
roleSessionName
@Stability(Stable) public ContainerAwsClusterControlPlaneAwsServicesAuthentication.Builder roleSessionName(String roleSessionName)
- Parameters:
roleSessionName- Optional. An identifier for the assumed role session. When unspecified, it defaults tomulticloud-service-agent. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_aws_cluster#role_session_name ContainerAwsCluster#role_session_name}- Returns:
this
-
build
@Stability(Stable) public ContainerAwsClusterControlPlaneAwsServicesAuthentication build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ContainerAwsClusterControlPlaneAwsServicesAuthentication>- Returns:
- a new instance of
ContainerAwsClusterControlPlaneAwsServicesAuthentication - Throws:
NullPointerException- if any required attribute was not provided
-
-