Class ContainerAzureClusterControlPlane.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.container_azure_cluster.ContainerAzureClusterControlPlane.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<ContainerAzureClusterControlPlane>
- Enclosing interface:
- ContainerAzureClusterControlPlane
@Stability(Stable) public static final class ContainerAzureClusterControlPlane.Builder extends Object implements software.amazon.jsii.Builder<ContainerAzureClusterControlPlane>
A builder forContainerAzureClusterControlPlane
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
sshConfig
@Stability(Stable) public ContainerAzureClusterControlPlane.Builder sshConfig(ContainerAzureClusterControlPlaneSshConfig sshConfig)
Sets the value ofContainerAzureClusterControlPlane.getSshConfig()- Parameters:
sshConfig- ssh_config block. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_azure_cluster#ssh_config ContainerAzureCluster#ssh_config}- Returns:
this
-
subnetId
@Stability(Stable) public ContainerAzureClusterControlPlane.Builder subnetId(String subnetId)
Sets the value ofContainerAzureClusterControlPlane.getSubnetId()- Parameters:
subnetId- The ARM ID of the subnet where the control plane VMs are deployed. Example:/subscriptions//resourceGroups//providers/Microsoft.Network/virtualNetworks//subnets/default. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_azure_cluster#subnet_id ContainerAzureCluster#subnet_id}- Returns:
this
-
version
@Stability(Stable) public ContainerAzureClusterControlPlane.Builder version(String version)
Sets the value ofContainerAzureClusterControlPlane.getVersion()- Parameters:
version- The Kubernetes version to run on control plane replicas (e.g.1.19.10-gke.1000). You can list all supported versions on a given Google Cloud region by calling GetAzureServerConfig. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_azure_cluster#version ContainerAzureCluster#version}- Returns:
this
-
databaseEncryption
@Stability(Stable) public ContainerAzureClusterControlPlane.Builder databaseEncryption(ContainerAzureClusterControlPlaneDatabaseEncryption databaseEncryption)
Sets the value ofContainerAzureClusterControlPlane.getDatabaseEncryption()- Parameters:
databaseEncryption- database_encryption block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_azure_cluster#database_encryption ContainerAzureCluster#database_encryption}- Returns:
this
-
mainVolume
@Stability(Stable) public ContainerAzureClusterControlPlane.Builder mainVolume(ContainerAzureClusterControlPlaneMainVolume mainVolume)
Sets the value ofContainerAzureClusterControlPlane.getMainVolume()- Parameters:
mainVolume- main_volume block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_azure_cluster#main_volume ContainerAzureCluster#main_volume}- Returns:
this
-
proxyConfig
@Stability(Stable) public ContainerAzureClusterControlPlane.Builder proxyConfig(ContainerAzureClusterControlPlaneProxyConfig proxyConfig)
Sets the value ofContainerAzureClusterControlPlane.getProxyConfig()- Parameters:
proxyConfig- proxy_config block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_azure_cluster#proxy_config ContainerAzureCluster#proxy_config}- Returns:
this
-
replicaPlacements
@Stability(Stable) public ContainerAzureClusterControlPlane.Builder replicaPlacements(com.hashicorp.cdktf.IResolvable replicaPlacements)
Sets the value ofContainerAzureClusterControlPlane.getReplicaPlacements()- Parameters:
replicaPlacements- replica_placements block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_azure_cluster#replica_placements ContainerAzureCluster#replica_placements}- Returns:
this
-
replicaPlacements
@Stability(Stable) public ContainerAzureClusterControlPlane.Builder replicaPlacements(List<? extends ContainerAzureClusterControlPlaneReplicaPlacements> replicaPlacements)
Sets the value ofContainerAzureClusterControlPlane.getReplicaPlacements()- Parameters:
replicaPlacements- replica_placements block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_azure_cluster#replica_placements ContainerAzureCluster#replica_placements}- Returns:
this
-
rootVolume
@Stability(Stable) public ContainerAzureClusterControlPlane.Builder rootVolume(ContainerAzureClusterControlPlaneRootVolume rootVolume)
Sets the value ofContainerAzureClusterControlPlane.getRootVolume()- Parameters:
rootVolume- root_volume block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_azure_cluster#root_volume ContainerAzureCluster#root_volume}- Returns:
this
-
tags
@Stability(Stable) public ContainerAzureClusterControlPlane.Builder tags(Map<String,String> tags)
Sets the value ofContainerAzureClusterControlPlane.getTags()- Parameters:
tags- Optional. A set of tags to apply to all underlying control plane Azure resources. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_azure_cluster#tags ContainerAzureCluster#tags}- Returns:
this
-
vmSize
@Stability(Stable) public ContainerAzureClusterControlPlane.Builder vmSize(String vmSize)
Sets the value ofContainerAzureClusterControlPlane.getVmSize()- Parameters:
vmSize- Optional. The Azure VM size name. Example: `Standard_DS2_v2`. For available VM sizes, see https://docs.microsoft.com/en-us/azure/virtual-machines/vm-naming-conventions. When unspecified, it defaults to `Standard_DS2_v2`. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_azure_cluster#vm_size ContainerAzureCluster#vm_size}- Returns:
this
-
build
@Stability(Stable) public ContainerAzureClusterControlPlane build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ContainerAzureClusterControlPlane>- Returns:
- a new instance of
ContainerAzureClusterControlPlane - Throws:
NullPointerException- if any required attribute was not provided
-
-