Package com.pulumi.gcp.dataproc.inputs
Class ClusterClusterConfigGceClusterConfigArgs.Builder
- java.lang.Object
-
- com.pulumi.gcp.dataproc.inputs.ClusterClusterConfigGceClusterConfigArgs.Builder
-
- Enclosing class:
- ClusterClusterConfigGceClusterConfigArgs
public static final class ClusterClusterConfigGceClusterConfigArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(ClusterClusterConfigGceClusterConfigArgs defaults)
-
Method Summary
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(ClusterClusterConfigGceClusterConfigArgs defaults)
-
-
Method Detail
-
internalIpOnly
public ClusterClusterConfigGceClusterConfigArgs.Builder internalIpOnly(@Nullable com.pulumi.core.Output<java.lang.Boolean> internalIpOnly)
- Parameters:
internalIpOnly
- By default, clusters are not restricted to internal IP addresses, and will have ephemeral external IP addresses assigned to each instance. If set to true, all instances in the cluster will only have internal IP addresses. Note: Private Google Access (also known as `privateIpGoogleAccess`) must be enabled on the subnetwork that the cluster will be launched in.- Returns:
- builder
-
internalIpOnly
public ClusterClusterConfigGceClusterConfigArgs.Builder internalIpOnly(java.lang.Boolean internalIpOnly)
- Parameters:
internalIpOnly
- By default, clusters are not restricted to internal IP addresses, and will have ephemeral external IP addresses assigned to each instance. If set to true, all instances in the cluster will only have internal IP addresses. Note: Private Google Access (also known as `privateIpGoogleAccess`) must be enabled on the subnetwork that the cluster will be launched in.- Returns:
- builder
-
metadata
public ClusterClusterConfigGceClusterConfigArgs.Builder metadata(@Nullable com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> metadata)
- Parameters:
metadata
- A map of the Compute Engine metadata entries to add to all instances (see [Project and instance metadata](https://cloud.google.com/compute/docs/storing-retrieving-metadata#project_and_instance_metadata)).- Returns:
- builder
-
metadata
public ClusterClusterConfigGceClusterConfigArgs.Builder metadata(java.util.Map<java.lang.String,java.lang.String> metadata)
- Parameters:
metadata
- A map of the Compute Engine metadata entries to add to all instances (see [Project and instance metadata](https://cloud.google.com/compute/docs/storing-retrieving-metadata#project_and_instance_metadata)).- Returns:
- builder
-
network
public ClusterClusterConfigGceClusterConfigArgs.Builder network(@Nullable com.pulumi.core.Output<java.lang.String> network)
- Parameters:
network
- The name or self_link of the Google Compute Engine network to the cluster will be part of. Conflicts with `subnetwork`. If neither is specified, this defaults to the "default" network.- Returns:
- builder
-
network
public ClusterClusterConfigGceClusterConfigArgs.Builder network(java.lang.String network)
- Parameters:
network
- The name or self_link of the Google Compute Engine network to the cluster will be part of. Conflicts with `subnetwork`. If neither is specified, this defaults to the "default" network.- Returns:
- builder
-
nodeGroupAffinity
public ClusterClusterConfigGceClusterConfigArgs.Builder nodeGroupAffinity(@Nullable com.pulumi.core.Output<ClusterClusterConfigGceClusterConfigNodeGroupAffinityArgs> nodeGroupAffinity)
- Parameters:
nodeGroupAffinity
- Node Group Affinity for sole-tenant clusters.- Returns:
- builder
-
nodeGroupAffinity
public ClusterClusterConfigGceClusterConfigArgs.Builder nodeGroupAffinity(ClusterClusterConfigGceClusterConfigNodeGroupAffinityArgs nodeGroupAffinity)
- Parameters:
nodeGroupAffinity
- Node Group Affinity for sole-tenant clusters.- Returns:
- builder
-
reservationAffinity
public ClusterClusterConfigGceClusterConfigArgs.Builder reservationAffinity(@Nullable com.pulumi.core.Output<ClusterClusterConfigGceClusterConfigReservationAffinityArgs> reservationAffinity)
- Parameters:
reservationAffinity
- Reservation Affinity for consuming zonal reservation.- Returns:
- builder
-
reservationAffinity
public ClusterClusterConfigGceClusterConfigArgs.Builder reservationAffinity(ClusterClusterConfigGceClusterConfigReservationAffinityArgs reservationAffinity)
- Parameters:
reservationAffinity
- Reservation Affinity for consuming zonal reservation.- Returns:
- builder
-
serviceAccount
public ClusterClusterConfigGceClusterConfigArgs.Builder serviceAccount(@Nullable com.pulumi.core.Output<java.lang.String> serviceAccount)
- Parameters:
serviceAccount
- The service account to be used by the Node VMs. If not specified, the "default" service account is used.- Returns:
- builder
-
serviceAccount
public ClusterClusterConfigGceClusterConfigArgs.Builder serviceAccount(java.lang.String serviceAccount)
- Parameters:
serviceAccount
- The service account to be used by the Node VMs. If not specified, the "default" service account is used.- Returns:
- builder
-
serviceAccountScopes
public ClusterClusterConfigGceClusterConfigArgs.Builder serviceAccountScopes(@Nullable com.pulumi.core.Output<java.util.List<java.lang.String>> serviceAccountScopes)
- Parameters:
serviceAccountScopes
- The set of Google API scopes to be made available on all of the node VMs under the `service_account` specified. Both OAuth2 URLs and gcloud short names are supported. To allow full access to all Cloud APIs, use the `cloud-platform` scope. See a complete list of scopes [here](https://cloud.google.com/sdk/gcloud/reference/alpha/compute/instances/set-scopes#--scopes).- Returns:
- builder
-
serviceAccountScopes
public ClusterClusterConfigGceClusterConfigArgs.Builder serviceAccountScopes(java.util.List<java.lang.String> serviceAccountScopes)
- Parameters:
serviceAccountScopes
- The set of Google API scopes to be made available on all of the node VMs under the `service_account` specified. Both OAuth2 URLs and gcloud short names are supported. To allow full access to all Cloud APIs, use the `cloud-platform` scope. See a complete list of scopes [here](https://cloud.google.com/sdk/gcloud/reference/alpha/compute/instances/set-scopes#--scopes).- Returns:
- builder
-
serviceAccountScopes
public ClusterClusterConfigGceClusterConfigArgs.Builder serviceAccountScopes(java.lang.String... serviceAccountScopes)
- Parameters:
serviceAccountScopes
- The set of Google API scopes to be made available on all of the node VMs under the `service_account` specified. Both OAuth2 URLs and gcloud short names are supported. To allow full access to all Cloud APIs, use the `cloud-platform` scope. See a complete list of scopes [here](https://cloud.google.com/sdk/gcloud/reference/alpha/compute/instances/set-scopes#--scopes).- Returns:
- builder
-
shieldedInstanceConfig
public ClusterClusterConfigGceClusterConfigArgs.Builder shieldedInstanceConfig(@Nullable com.pulumi.core.Output<ClusterClusterConfigGceClusterConfigShieldedInstanceConfigArgs> shieldedInstanceConfig)
- Parameters:
shieldedInstanceConfig
- Shielded Instance Config for clusters using [Compute Engine Shielded VMs](https://cloud.google.com/security/shielded-cloud/shielded-vm). ***- Returns:
- builder
-
shieldedInstanceConfig
public ClusterClusterConfigGceClusterConfigArgs.Builder shieldedInstanceConfig(ClusterClusterConfigGceClusterConfigShieldedInstanceConfigArgs shieldedInstanceConfig)
- Parameters:
shieldedInstanceConfig
- Shielded Instance Config for clusters using [Compute Engine Shielded VMs](https://cloud.google.com/security/shielded-cloud/shielded-vm). ***- Returns:
- builder
-
subnetwork
public ClusterClusterConfigGceClusterConfigArgs.Builder subnetwork(@Nullable com.pulumi.core.Output<java.lang.String> subnetwork)
- Parameters:
subnetwork
- The name or self_link of the Google Compute Engine subnetwork the cluster will be part of. Conflicts with `network`.- Returns:
- builder
-
subnetwork
public ClusterClusterConfigGceClusterConfigArgs.Builder subnetwork(java.lang.String subnetwork)
- Parameters:
subnetwork
- The name or self_link of the Google Compute Engine subnetwork the cluster will be part of. Conflicts with `network`.- Returns:
- builder
-
tags
public ClusterClusterConfigGceClusterConfigArgs.Builder tags(@Nullable com.pulumi.core.Output<java.util.List<java.lang.String>> tags)
- Parameters:
tags
- The list of instance tags applied to instances in the cluster. Tags are used to identify valid sources or targets for network firewalls.- Returns:
- builder
-
tags
public ClusterClusterConfigGceClusterConfigArgs.Builder tags(java.util.List<java.lang.String> tags)
- Parameters:
tags
- The list of instance tags applied to instances in the cluster. Tags are used to identify valid sources or targets for network firewalls.- Returns:
- builder
-
tags
public ClusterClusterConfigGceClusterConfigArgs.Builder tags(java.lang.String... tags)
- Parameters:
tags
- The list of instance tags applied to instances in the cluster. Tags are used to identify valid sources or targets for network firewalls.- Returns:
- builder
-
zone
public ClusterClusterConfigGceClusterConfigArgs.Builder zone(@Nullable com.pulumi.core.Output<java.lang.String> zone)
- Parameters:
zone
- The GCP zone where your data is stored and used (i.e. where the master and the worker nodes will be created in). If `region` is set to 'global' (default) then `zone` is mandatory, otherwise GCP is able to make use of [Auto Zone Placement](https://cloud.google.com/dataproc/docs/concepts/auto-zone) to determine this automatically for you. Note: This setting additionally determines and restricts which computing resources are available for use with other configs such as `cluster_config.master_config.machine_type` and `cluster_config.worker_config.machine_type`.- Returns:
- builder
-
zone
public ClusterClusterConfigGceClusterConfigArgs.Builder zone(java.lang.String zone)
- Parameters:
zone
- The GCP zone where your data is stored and used (i.e. where the master and the worker nodes will be created in). If `region` is set to 'global' (default) then `zone` is mandatory, otherwise GCP is able to make use of [Auto Zone Placement](https://cloud.google.com/dataproc/docs/concepts/auto-zone) to determine this automatically for you. Note: This setting additionally determines and restricts which computing resources are available for use with other configs such as `cluster_config.master_config.machine_type` and `cluster_config.worker_config.machine_type`.- Returns:
- builder
-
build
public ClusterClusterConfigGceClusterConfigArgs build()
-
-