Class ContainerClusterMasterAuthorizedNetworksConfigCidrBlocks.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.container_cluster.ContainerClusterMasterAuthorizedNetworksConfigCidrBlocks.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<ContainerClusterMasterAuthorizedNetworksConfigCidrBlocks>
- Enclosing interface:
- ContainerClusterMasterAuthorizedNetworksConfigCidrBlocks
@Stability(Stable) public static final class ContainerClusterMasterAuthorizedNetworksConfigCidrBlocks.Builder extends Object implements software.amazon.jsii.Builder<ContainerClusterMasterAuthorizedNetworksConfigCidrBlocks>
A builder forContainerClusterMasterAuthorizedNetworksConfigCidrBlocks
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ContainerClusterMasterAuthorizedNetworksConfigCidrBlocksbuild()Builds the configured instance.ContainerClusterMasterAuthorizedNetworksConfigCidrBlocks.BuildercidrBlock(String cidrBlock)Sets the value ofContainerClusterMasterAuthorizedNetworksConfigCidrBlocks.getCidrBlock()ContainerClusterMasterAuthorizedNetworksConfigCidrBlocks.BuilderdisplayName(String displayName)
-
-
-
Method Detail
-
cidrBlock
@Stability(Stable) public ContainerClusterMasterAuthorizedNetworksConfigCidrBlocks.Builder cidrBlock(String cidrBlock)
Sets the value ofContainerClusterMasterAuthorizedNetworksConfigCidrBlocks.getCidrBlock()- Parameters:
cidrBlock- External network that can access Kubernetes master through HTTPS. Must be specified in CIDR notation. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_cluster#cidr_block ContainerCluster#cidr_block}- Returns:
this
-
displayName
@Stability(Stable) public ContainerClusterMasterAuthorizedNetworksConfigCidrBlocks.Builder displayName(String displayName)
- Parameters:
displayName- Field for users to identify CIDR blocks. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_cluster#display_name ContainerCluster#display_name}- Returns:
this
-
build
@Stability(Stable) public ContainerClusterMasterAuthorizedNetworksConfigCidrBlocks build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ContainerClusterMasterAuthorizedNetworksConfigCidrBlocks>- Returns:
- a new instance of
ContainerClusterMasterAuthorizedNetworksConfigCidrBlocks - Throws:
NullPointerException- if any required attribute was not provided
-
-