Class DataprocWorkflowTemplatePlacementManagedClusterConfigGceClusterConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.dataproc_workflow_template.DataprocWorkflowTemplatePlacementManagedClusterConfigGceClusterConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<DataprocWorkflowTemplatePlacementManagedClusterConfigGceClusterConfig>
- Enclosing interface:
- DataprocWorkflowTemplatePlacementManagedClusterConfigGceClusterConfig
@Stability(Stable) public static final class DataprocWorkflowTemplatePlacementManagedClusterConfigGceClusterConfig.Builder extends Object implements software.amazon.jsii.Builder<DataprocWorkflowTemplatePlacementManagedClusterConfigGceClusterConfig>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
internalIpOnly
@Stability(Stable) public DataprocWorkflowTemplatePlacementManagedClusterConfigGceClusterConfig.Builder internalIpOnly(Boolean internalIpOnly)
Sets the value ofDataprocWorkflowTemplatePlacementManagedClusterConfigGceClusterConfig.getInternalIpOnly()- Parameters:
internalIpOnly- Optional. If true, all instances in the cluster will only have internal IP addresses. By default, clusters are not restricted to internal IP addresses, and will have ephemeral external IP addresses assigned to each instance. This `internal_ip_only` restriction can only be enabled for subnetwork enabled networks, and all off-cluster dependencies must be configured to be accessible without external IP addresses. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataproc_workflow_template#internal_ip_only DataprocWorkflowTemplate#internal_ip_only}- Returns:
this
-
internalIpOnly
@Stability(Stable) public DataprocWorkflowTemplatePlacementManagedClusterConfigGceClusterConfig.Builder internalIpOnly(com.hashicorp.cdktf.IResolvable internalIpOnly)
Sets the value ofDataprocWorkflowTemplatePlacementManagedClusterConfigGceClusterConfig.getInternalIpOnly()- Parameters:
internalIpOnly- Optional. If true, all instances in the cluster will only have internal IP addresses. By default, clusters are not restricted to internal IP addresses, and will have ephemeral external IP addresses assigned to each instance. This `internal_ip_only` restriction can only be enabled for subnetwork enabled networks, and all off-cluster dependencies must be configured to be accessible without external IP addresses. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataproc_workflow_template#internal_ip_only DataprocWorkflowTemplate#internal_ip_only}- Returns:
this
-
metadata
@Stability(Stable) public DataprocWorkflowTemplatePlacementManagedClusterConfigGceClusterConfig.Builder metadata(Map<String,String> metadata)
Sets the value ofDataprocWorkflowTemplatePlacementManagedClusterConfigGceClusterConfig.getMetadata()- Parameters:
metadata- The Compute Engine metadata entries to add to all instances (see Project and instance metadata). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataproc_workflow_template#metadata DataprocWorkflowTemplate#metadata}- Returns:
this
-
network
@Stability(Stable) public DataprocWorkflowTemplatePlacementManagedClusterConfigGceClusterConfig.Builder network(String network)
Sets the value ofDataprocWorkflowTemplatePlacementManagedClusterConfigGceClusterConfig.getNetwork()- Parameters:
network- Optional. The Compute Engine network to be used for machine communications. Cannot be specified with subnetwork_uri. If neither `network_uri` nor `subnetwork_uri` is specified, the "default" network of the project is used, if it exists. Cannot be a "Custom Subnet Network" (see [Using Subnetworks](https://cloud.google.com/compute/docs/subnetworks) for more information). A full URL, partial URI, or short name are valid. Examples: * `https://www.googleapis.com/compute/v1/projects/[project_id]/regions/global/default` * `projects/[project_id]/regions/global/default` * `default` Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataproc_workflow_template#network DataprocWorkflowTemplate#network}- Returns:
this
-
nodeGroupAffinity
@Stability(Stable) public DataprocWorkflowTemplatePlacementManagedClusterConfigGceClusterConfig.Builder nodeGroupAffinity(DataprocWorkflowTemplatePlacementManagedClusterConfigGceClusterConfigNodeGroupAffinity nodeGroupAffinity)
Sets the value ofDataprocWorkflowTemplatePlacementManagedClusterConfigGceClusterConfig.getNodeGroupAffinity()- Parameters:
nodeGroupAffinity- node_group_affinity block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataproc_workflow_template#node_group_affinity DataprocWorkflowTemplate#node_group_affinity}- Returns:
this
-
privateIpv6GoogleAccess
@Stability(Stable) public DataprocWorkflowTemplatePlacementManagedClusterConfigGceClusterConfig.Builder privateIpv6GoogleAccess(String privateIpv6GoogleAccess)
Sets the value ofDataprocWorkflowTemplatePlacementManagedClusterConfigGceClusterConfig.getPrivateIpv6GoogleAccess()- Parameters:
privateIpv6GoogleAccess- Optional. The type of IPv6 access for a cluster. Possible values: PRIVATE_IPV6_GOOGLE_ACCESS_UNSPECIFIED, INHERIT_FROM_SUBNETWORK, OUTBOUND, BIDIRECTIONAL. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataproc_workflow_template#private_ipv6_google_access DataprocWorkflowTemplate#private_ipv6_google_access}- Returns:
this
-
reservationAffinity
@Stability(Stable) public DataprocWorkflowTemplatePlacementManagedClusterConfigGceClusterConfig.Builder reservationAffinity(DataprocWorkflowTemplatePlacementManagedClusterConfigGceClusterConfigReservationAffinity reservationAffinity)
Sets the value ofDataprocWorkflowTemplatePlacementManagedClusterConfigGceClusterConfig.getReservationAffinity()- Parameters:
reservationAffinity- reservation_affinity block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataproc_workflow_template#reservation_affinity DataprocWorkflowTemplate#reservation_affinity}- Returns:
this
-
serviceAccount
@Stability(Stable) public DataprocWorkflowTemplatePlacementManagedClusterConfigGceClusterConfig.Builder serviceAccount(String serviceAccount)
Sets the value ofDataprocWorkflowTemplatePlacementManagedClusterConfigGceClusterConfig.getServiceAccount()- Parameters:
serviceAccount- Optional. The [Dataproc service account](https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/service-accounts#service_accounts_in_dataproc) (also see [VM Data Plane identity](https://cloud.google.com/dataproc/docs/concepts/iam/dataproc-principals#vm_service_account_data_plane_identity)) used by Dataproc cluster VM instances to access Google Cloud Platform services. If not specified, the [Compute Engine default service account](https://cloud.google.com/compute/docs/access/service-accounts#default_service_account) is used. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataproc_workflow_template#service_account DataprocWorkflowTemplate#service_account}- Returns:
this
-
serviceAccountScopes
@Stability(Stable) public DataprocWorkflowTemplatePlacementManagedClusterConfigGceClusterConfig.Builder serviceAccountScopes(List<String> serviceAccountScopes)
Sets the value ofDataprocWorkflowTemplatePlacementManagedClusterConfigGceClusterConfig.getServiceAccountScopes()- Parameters:
serviceAccountScopes- Optional. The URIs of service account scopes to be included in Compute Engine instances. The following base set of scopes is always included: * https://www.googleapis.com/auth/cloud.useraccounts.readonly * https://www.googleapis.com/auth/devstorage.read_write * https://www.googleapis.com/auth/logging.write If no scopes are specified, the following defaults are also provided: * https://www.googleapis.com/auth/bigquery * https://www.googleapis.com/auth/bigtable.admin.table * https://www.googleapis.com/auth/bigtable.data * https://www.googleapis.com/auth/devstorage.full_control Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataproc_workflow_template#service_account_scopes DataprocWorkflowTemplate#service_account_scopes}- Returns:
this
-
shieldedInstanceConfig
@Stability(Stable) public DataprocWorkflowTemplatePlacementManagedClusterConfigGceClusterConfig.Builder shieldedInstanceConfig(DataprocWorkflowTemplatePlacementManagedClusterConfigGceClusterConfigShieldedInstanceConfig shieldedInstanceConfig)
Sets the value ofDataprocWorkflowTemplatePlacementManagedClusterConfigGceClusterConfig.getShieldedInstanceConfig()- Parameters:
shieldedInstanceConfig- shielded_instance_config block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataproc_workflow_template#shielded_instance_config DataprocWorkflowTemplate#shielded_instance_config}- Returns:
this
-
subnetwork
@Stability(Stable) public DataprocWorkflowTemplatePlacementManagedClusterConfigGceClusterConfig.Builder subnetwork(String subnetwork)
Sets the value ofDataprocWorkflowTemplatePlacementManagedClusterConfigGceClusterConfig.getSubnetwork()- Parameters:
subnetwork- Optional. The Compute Engine subnetwork to be used for machine communications. Cannot be specified with network_uri. A full URL, partial URI, or short name are valid. Examples: * `https://www.googleapis.com/compute/v1/projects/[project_id]/regions/us-east1/subnetworks/sub0` * `projects/[project_id]/regions/us-east1/subnetworks/sub0` * `sub0` Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataproc_workflow_template#subnetwork DataprocWorkflowTemplate#subnetwork}- Returns:
this
-
tags
@Stability(Stable) public DataprocWorkflowTemplatePlacementManagedClusterConfigGceClusterConfig.Builder tags(List<String> tags)
- Parameters:
tags- The Compute Engine tags to add to all instances (see Tagging instances). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataproc_workflow_template#tags DataprocWorkflowTemplate#tags}- Returns:
this
-
zone
@Stability(Stable) public DataprocWorkflowTemplatePlacementManagedClusterConfigGceClusterConfig.Builder zone(String zone)
- Parameters:
zone- Optional. The zone where the Compute Engine cluster will be located. On a create request, it is required in the "global" region. If omitted in a non-global Dataproc region, the service will pick a zone in the corresponding Compute Engine region. On a get request, zone will always be present. A full URL, partial URI, or short name are valid. Examples: * `https://www.googleapis.com/compute/v1/projects/[project_id]/zones/[zone]` * `projects/[project_id]/zones/[zone]` * `us-central1-f` Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataproc_workflow_template#zone DataprocWorkflowTemplate#zone}- Returns:
this
-
build
@Stability(Stable) public DataprocWorkflowTemplatePlacementManagedClusterConfigGceClusterConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<DataprocWorkflowTemplatePlacementManagedClusterConfigGceClusterConfig>- Returns:
- a new instance of
DataprocWorkflowTemplatePlacementManagedClusterConfigGceClusterConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-