Class ContainerClusterDefaultSnatStatus.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.container_cluster.ContainerClusterDefaultSnatStatus.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<ContainerClusterDefaultSnatStatus>
- Enclosing interface:
- ContainerClusterDefaultSnatStatus
@Stability(Stable) public static final class ContainerClusterDefaultSnatStatus.Builder extends Object implements software.amazon.jsii.Builder<ContainerClusterDefaultSnatStatus>
A builder forContainerClusterDefaultSnatStatus
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ContainerClusterDefaultSnatStatusbuild()Builds the configured instance.ContainerClusterDefaultSnatStatus.Builderdisabled(com.hashicorp.cdktf.IResolvable disabled)Sets the value ofContainerClusterDefaultSnatStatus.getDisabled()ContainerClusterDefaultSnatStatus.Builderdisabled(Boolean disabled)Sets the value ofContainerClusterDefaultSnatStatus.getDisabled()
-
-
-
Method Detail
-
disabled
@Stability(Stable) public ContainerClusterDefaultSnatStatus.Builder disabled(Boolean disabled)
Sets the value ofContainerClusterDefaultSnatStatus.getDisabled()- Parameters:
disabled- When disabled is set to false, default IP masquerade rules will be applied to the nodes to prevent sNAT on cluster internal traffic. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_cluster#disabled ContainerCluster#disabled}- Returns:
this
-
disabled
@Stability(Stable) public ContainerClusterDefaultSnatStatus.Builder disabled(com.hashicorp.cdktf.IResolvable disabled)
Sets the value ofContainerClusterDefaultSnatStatus.getDisabled()- Parameters:
disabled- When disabled is set to false, default IP masquerade rules will be applied to the nodes to prevent sNAT on cluster internal traffic. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_cluster#disabled ContainerCluster#disabled}- Returns:
this
-
build
@Stability(Stable) public ContainerClusterDefaultSnatStatus build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ContainerClusterDefaultSnatStatus>- Returns:
- a new instance of
ContainerClusterDefaultSnatStatus - Throws:
NullPointerException- if any required attribute was not provided
-
-