Class ClouddeployTargetGke.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.clouddeploy_target.ClouddeployTargetGke.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<ClouddeployTargetGke>
- Enclosing interface:
- ClouddeployTargetGke
@Stability(Stable) public static final class ClouddeployTargetGke.Builder extends Object implements software.amazon.jsii.Builder<ClouddeployTargetGke>
A builder forClouddeployTargetGke
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ClouddeployTargetGkebuild()Builds the configured instance.ClouddeployTargetGke.Buildercluster(String cluster)Sets the value ofClouddeployTargetGke.getCluster()ClouddeployTargetGke.BuilderinternalIp(com.hashicorp.cdktf.IResolvable internalIp)Sets the value ofClouddeployTargetGke.getInternalIp()ClouddeployTargetGke.BuilderinternalIp(Boolean internalIp)Sets the value ofClouddeployTargetGke.getInternalIp()ClouddeployTargetGke.BuilderproxyUrl(String proxyUrl)Sets the value ofClouddeployTargetGke.getProxyUrl()
-
-
-
Method Detail
-
cluster
@Stability(Stable) public ClouddeployTargetGke.Builder cluster(String cluster)
Sets the value ofClouddeployTargetGke.getCluster()- Parameters:
cluster- Information specifying a GKE Cluster. Format is `projects/{project_id}/locations/{location_id}/clusters/{cluster_id}. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/clouddeploy_target#cluster ClouddeployTarget#cluster}- Returns:
this
-
internalIp
@Stability(Stable) public ClouddeployTargetGke.Builder internalIp(Boolean internalIp)
Sets the value ofClouddeployTargetGke.getInternalIp()- Parameters:
internalIp- Optional. If true, `cluster` is accessed using the private IP address of the control plane endpoint. Otherwise, the default IP address of the control plane endpoint is used. The default IP address is the private IP address for clusters with private control-plane endpoints and the public IP address otherwise. Only specify this option when `cluster` is a [private GKE cluster](https://cloud.google.com/kubernetes-engine/docs/concepts/private-cluster-concept). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/clouddeploy_target#internal_ip ClouddeployTarget#internal_ip}- Returns:
this
-
internalIp
@Stability(Stable) public ClouddeployTargetGke.Builder internalIp(com.hashicorp.cdktf.IResolvable internalIp)
Sets the value ofClouddeployTargetGke.getInternalIp()- Parameters:
internalIp- Optional. If true, `cluster` is accessed using the private IP address of the control plane endpoint. Otherwise, the default IP address of the control plane endpoint is used. The default IP address is the private IP address for clusters with private control-plane endpoints and the public IP address otherwise. Only specify this option when `cluster` is a [private GKE cluster](https://cloud.google.com/kubernetes-engine/docs/concepts/private-cluster-concept). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/clouddeploy_target#internal_ip ClouddeployTarget#internal_ip}- Returns:
this
-
proxyUrl
@Stability(Stable) public ClouddeployTargetGke.Builder proxyUrl(String proxyUrl)
Sets the value ofClouddeployTargetGke.getProxyUrl()- Parameters:
proxyUrl- Optional. If set, used to configure a proxy to the Kubernetes server. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/clouddeploy_target#proxy_url ClouddeployTarget#proxy_url}- Returns:
this
-
build
@Stability(Stable) public ClouddeployTargetGke build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ClouddeployTargetGke>- Returns:
- a new instance of
ClouddeployTargetGke - Throws:
NullPointerException- if any required attribute was not provided
-
-