Class ContainerAzureClusterControlPlaneSshConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.container_azure_cluster.ContainerAzureClusterControlPlaneSshConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<ContainerAzureClusterControlPlaneSshConfig>
- Enclosing interface:
- ContainerAzureClusterControlPlaneSshConfig
@Stability(Stable) public static final class ContainerAzureClusterControlPlaneSshConfig.Builder extends Object implements software.amazon.jsii.Builder<ContainerAzureClusterControlPlaneSshConfig>
A builder forContainerAzureClusterControlPlaneSshConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ContainerAzureClusterControlPlaneSshConfig.BuilderauthorizedKey(String authorizedKey)Sets the value ofContainerAzureClusterControlPlaneSshConfig.getAuthorizedKey()ContainerAzureClusterControlPlaneSshConfigbuild()Builds the configured instance.
-
-
-
Method Detail
-
authorizedKey
@Stability(Stable) public ContainerAzureClusterControlPlaneSshConfig.Builder authorizedKey(String authorizedKey)
Sets the value ofContainerAzureClusterControlPlaneSshConfig.getAuthorizedKey()- Parameters:
authorizedKey- The SSH public key data for VMs managed by Anthos. This parameter is required. This accepts the authorized_keys file format used in OpenSSH according to the sshd(8) manual page. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_azure_cluster#authorized_key ContainerAzureCluster#authorized_key}- Returns:
this
-
build
@Stability(Stable) public ContainerAzureClusterControlPlaneSshConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ContainerAzureClusterControlPlaneSshConfig>- Returns:
- a new instance of
ContainerAzureClusterControlPlaneSshConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-