Package com.pulumi.gcp.dataproc.inputs
Class WorkflowTemplatePlacementManagedClusterConfigArgs.Builder
- java.lang.Object
-
- com.pulumi.gcp.dataproc.inputs.WorkflowTemplatePlacementManagedClusterConfigArgs.Builder
-
- Enclosing class:
- WorkflowTemplatePlacementManagedClusterConfigArgs
public static final class WorkflowTemplatePlacementManagedClusterConfigArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(WorkflowTemplatePlacementManagedClusterConfigArgs defaults)
-
Method Summary
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(WorkflowTemplatePlacementManagedClusterConfigArgs defaults)
-
-
Method Detail
-
autoscalingConfig
public WorkflowTemplatePlacementManagedClusterConfigArgs.Builder autoscalingConfig(@Nullable com.pulumi.core.Output<WorkflowTemplatePlacementManagedClusterConfigAutoscalingConfigArgs> autoscalingConfig)
- Parameters:
autoscalingConfig
- Optional. Autoscaling config for the policy associated with the cluster. Cluster does not autoscale if this field is unset.- Returns:
- builder
-
autoscalingConfig
public WorkflowTemplatePlacementManagedClusterConfigArgs.Builder autoscalingConfig(WorkflowTemplatePlacementManagedClusterConfigAutoscalingConfigArgs autoscalingConfig)
- Parameters:
autoscalingConfig
- Optional. Autoscaling config for the policy associated with the cluster. Cluster does not autoscale if this field is unset.- Returns:
- builder
-
encryptionConfig
public WorkflowTemplatePlacementManagedClusterConfigArgs.Builder encryptionConfig(@Nullable com.pulumi.core.Output<WorkflowTemplatePlacementManagedClusterConfigEncryptionConfigArgs> encryptionConfig)
- Parameters:
encryptionConfig
- Optional. Encryption settings for the cluster.- Returns:
- builder
-
encryptionConfig
public WorkflowTemplatePlacementManagedClusterConfigArgs.Builder encryptionConfig(WorkflowTemplatePlacementManagedClusterConfigEncryptionConfigArgs encryptionConfig)
- Parameters:
encryptionConfig
- Optional. Encryption settings for the cluster.- Returns:
- builder
-
endpointConfig
public WorkflowTemplatePlacementManagedClusterConfigArgs.Builder endpointConfig(@Nullable com.pulumi.core.Output<WorkflowTemplatePlacementManagedClusterConfigEndpointConfigArgs> endpointConfig)
- Parameters:
endpointConfig
- Optional. Port/endpoint configuration for this cluster- Returns:
- builder
-
endpointConfig
public WorkflowTemplatePlacementManagedClusterConfigArgs.Builder endpointConfig(WorkflowTemplatePlacementManagedClusterConfigEndpointConfigArgs endpointConfig)
- Parameters:
endpointConfig
- Optional. Port/endpoint configuration for this cluster- Returns:
- builder
-
gceClusterConfig
public WorkflowTemplatePlacementManagedClusterConfigArgs.Builder gceClusterConfig(@Nullable com.pulumi.core.Output<WorkflowTemplatePlacementManagedClusterConfigGceClusterConfigArgs> gceClusterConfig)
- Parameters:
gceClusterConfig
- Optional. The shared Compute Engine config settings for all instances in a cluster.- Returns:
- builder
-
gceClusterConfig
public WorkflowTemplatePlacementManagedClusterConfigArgs.Builder gceClusterConfig(WorkflowTemplatePlacementManagedClusterConfigGceClusterConfigArgs gceClusterConfig)
- Parameters:
gceClusterConfig
- Optional. The shared Compute Engine config settings for all instances in a cluster.- Returns:
- builder
-
gkeClusterConfig
public WorkflowTemplatePlacementManagedClusterConfigArgs.Builder gkeClusterConfig(@Nullable com.pulumi.core.Output<WorkflowTemplatePlacementManagedClusterConfigGkeClusterConfigArgs> gkeClusterConfig)
- Parameters:
gkeClusterConfig
- Optional. The Kubernetes Engine config for Dataproc clusters deployed to Kubernetes. Setting this is considered mutually exclusive with Compute Engine-based options such as `gce_cluster_config`, `master_config`, `worker_config`, `secondary_worker_config`, and `autoscaling_config`.- Returns:
- builder
-
gkeClusterConfig
public WorkflowTemplatePlacementManagedClusterConfigArgs.Builder gkeClusterConfig(WorkflowTemplatePlacementManagedClusterConfigGkeClusterConfigArgs gkeClusterConfig)
- Parameters:
gkeClusterConfig
- Optional. The Kubernetes Engine config for Dataproc clusters deployed to Kubernetes. Setting this is considered mutually exclusive with Compute Engine-based options such as `gce_cluster_config`, `master_config`, `worker_config`, `secondary_worker_config`, and `autoscaling_config`.- Returns:
- builder
-
initializationActions
public WorkflowTemplatePlacementManagedClusterConfigArgs.Builder initializationActions(@Nullable com.pulumi.core.Output<java.util.List<WorkflowTemplatePlacementManagedClusterConfigInitializationActionArgs>> initializationActions)
- Parameters:
initializationActions
- Optional. Commands to execute on each node after config is completed. By default, executables are run on master and all worker nodes. You can test a node's `role` metadata to run an executable on a master or worker node, as shown below using `curl` (you can also use `wget`): ROLE=$(curl -H Metadata-Flavor:Google http://metadata/computeMetadata/v1/instance/attributes/dataproc-role) if ; then ... master specific actions ... else ... worker specific actions ... fi- Returns:
- builder
-
initializationActions
public WorkflowTemplatePlacementManagedClusterConfigArgs.Builder initializationActions(java.util.List<WorkflowTemplatePlacementManagedClusterConfigInitializationActionArgs> initializationActions)
- Parameters:
initializationActions
- Optional. Commands to execute on each node after config is completed. By default, executables are run on master and all worker nodes. You can test a node's `role` metadata to run an executable on a master or worker node, as shown below using `curl` (you can also use `wget`): ROLE=$(curl -H Metadata-Flavor:Google http://metadata/computeMetadata/v1/instance/attributes/dataproc-role) if ; then ... master specific actions ... else ... worker specific actions ... fi- Returns:
- builder
-
initializationActions
public WorkflowTemplatePlacementManagedClusterConfigArgs.Builder initializationActions(WorkflowTemplatePlacementManagedClusterConfigInitializationActionArgs... initializationActions)
- Parameters:
initializationActions
- Optional. Commands to execute on each node after config is completed. By default, executables are run on master and all worker nodes. You can test a node's `role` metadata to run an executable on a master or worker node, as shown below using `curl` (you can also use `wget`): ROLE=$(curl -H Metadata-Flavor:Google http://metadata/computeMetadata/v1/instance/attributes/dataproc-role) if ; then ... master specific actions ... else ... worker specific actions ... fi- Returns:
- builder
-
lifecycleConfig
public WorkflowTemplatePlacementManagedClusterConfigArgs.Builder lifecycleConfig(@Nullable com.pulumi.core.Output<WorkflowTemplatePlacementManagedClusterConfigLifecycleConfigArgs> lifecycleConfig)
- Parameters:
lifecycleConfig
- Optional. Lifecycle setting for the cluster.- Returns:
- builder
-
lifecycleConfig
public WorkflowTemplatePlacementManagedClusterConfigArgs.Builder lifecycleConfig(WorkflowTemplatePlacementManagedClusterConfigLifecycleConfigArgs lifecycleConfig)
- Parameters:
lifecycleConfig
- Optional. Lifecycle setting for the cluster.- Returns:
- builder
-
masterConfig
public WorkflowTemplatePlacementManagedClusterConfigArgs.Builder masterConfig(@Nullable com.pulumi.core.Output<WorkflowTemplatePlacementManagedClusterConfigMasterConfigArgs> masterConfig)
- Parameters:
masterConfig
- Optional. The Compute Engine config settings for additional worker instances in a cluster.- Returns:
- builder
-
masterConfig
public WorkflowTemplatePlacementManagedClusterConfigArgs.Builder masterConfig(WorkflowTemplatePlacementManagedClusterConfigMasterConfigArgs masterConfig)
- Parameters:
masterConfig
- Optional. The Compute Engine config settings for additional worker instances in a cluster.- Returns:
- builder
-
metastoreConfig
public WorkflowTemplatePlacementManagedClusterConfigArgs.Builder metastoreConfig(@Nullable com.pulumi.core.Output<WorkflowTemplatePlacementManagedClusterConfigMetastoreConfigArgs> metastoreConfig)
- Parameters:
metastoreConfig
- Optional. Metastore configuration.- Returns:
- builder
-
metastoreConfig
public WorkflowTemplatePlacementManagedClusterConfigArgs.Builder metastoreConfig(WorkflowTemplatePlacementManagedClusterConfigMetastoreConfigArgs metastoreConfig)
- Parameters:
metastoreConfig
- Optional. Metastore configuration.- Returns:
- builder
-
secondaryWorkerConfig
public WorkflowTemplatePlacementManagedClusterConfigArgs.Builder secondaryWorkerConfig(@Nullable com.pulumi.core.Output<WorkflowTemplatePlacementManagedClusterConfigSecondaryWorkerConfigArgs> secondaryWorkerConfig)
- Parameters:
secondaryWorkerConfig
- Optional. The Compute Engine config settings for additional worker instances in a cluster.- Returns:
- builder
-
secondaryWorkerConfig
public WorkflowTemplatePlacementManagedClusterConfigArgs.Builder secondaryWorkerConfig(WorkflowTemplatePlacementManagedClusterConfigSecondaryWorkerConfigArgs secondaryWorkerConfig)
- Parameters:
secondaryWorkerConfig
- Optional. The Compute Engine config settings for additional worker instances in a cluster.- Returns:
- builder
-
securityConfig
public WorkflowTemplatePlacementManagedClusterConfigArgs.Builder securityConfig(@Nullable com.pulumi.core.Output<WorkflowTemplatePlacementManagedClusterConfigSecurityConfigArgs> securityConfig)
- Parameters:
securityConfig
- Optional. Security settings for the cluster.- Returns:
- builder
-
securityConfig
public WorkflowTemplatePlacementManagedClusterConfigArgs.Builder securityConfig(WorkflowTemplatePlacementManagedClusterConfigSecurityConfigArgs securityConfig)
- Parameters:
securityConfig
- Optional. Security settings for the cluster.- Returns:
- builder
-
softwareConfig
public WorkflowTemplatePlacementManagedClusterConfigArgs.Builder softwareConfig(@Nullable com.pulumi.core.Output<WorkflowTemplatePlacementManagedClusterConfigSoftwareConfigArgs> softwareConfig)
- Parameters:
softwareConfig
- Optional. The config settings for software inside the cluster.- Returns:
- builder
-
softwareConfig
public WorkflowTemplatePlacementManagedClusterConfigArgs.Builder softwareConfig(WorkflowTemplatePlacementManagedClusterConfigSoftwareConfigArgs softwareConfig)
- Parameters:
softwareConfig
- Optional. The config settings for software inside the cluster.- Returns:
- builder
-
stagingBucket
public WorkflowTemplatePlacementManagedClusterConfigArgs.Builder stagingBucket(@Nullable com.pulumi.core.Output<java.lang.String> stagingBucket)
- Parameters:
stagingBucket
- Optional. A Cloud Storage bucket used to stage job dependencies, config files, and job driver console output. If you do not specify a staging bucket, Cloud Dataproc will determine a Cloud Storage location (US, ASIA, or EU) for your cluster's staging bucket according to the Compute Engine zone where your cluster is deployed, and then create and manage this project-level, per-location bucket (see (https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/staging-bucket)).- Returns:
- builder
-
stagingBucket
public WorkflowTemplatePlacementManagedClusterConfigArgs.Builder stagingBucket(java.lang.String stagingBucket)
- Parameters:
stagingBucket
- Optional. A Cloud Storage bucket used to stage job dependencies, config files, and job driver console output. If you do not specify a staging bucket, Cloud Dataproc will determine a Cloud Storage location (US, ASIA, or EU) for your cluster's staging bucket according to the Compute Engine zone where your cluster is deployed, and then create and manage this project-level, per-location bucket (see (https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/staging-bucket)).- Returns:
- builder
-
tempBucket
public WorkflowTemplatePlacementManagedClusterConfigArgs.Builder tempBucket(@Nullable com.pulumi.core.Output<java.lang.String> tempBucket)
- Parameters:
tempBucket
- Optional. A Cloud Storage bucket used to store ephemeral cluster and jobs data, such as Spark and MapReduce history files. If you do not specify a temp bucket, Dataproc will determine a Cloud Storage location (US, ASIA, or EU) for your cluster's temp bucket according to the Compute Engine zone where your cluster is deployed, and then create and manage this project-level, per-location bucket. The default bucket has a TTL of 90 days, but you can use any TTL (or none) if you specify a bucket.- Returns:
- builder
-
tempBucket
public WorkflowTemplatePlacementManagedClusterConfigArgs.Builder tempBucket(java.lang.String tempBucket)
- Parameters:
tempBucket
- Optional. A Cloud Storage bucket used to store ephemeral cluster and jobs data, such as Spark and MapReduce history files. If you do not specify a temp bucket, Dataproc will determine a Cloud Storage location (US, ASIA, or EU) for your cluster's temp bucket according to the Compute Engine zone where your cluster is deployed, and then create and manage this project-level, per-location bucket. The default bucket has a TTL of 90 days, but you can use any TTL (or none) if you specify a bucket.- Returns:
- builder
-
workerConfig
public WorkflowTemplatePlacementManagedClusterConfigArgs.Builder workerConfig(@Nullable com.pulumi.core.Output<WorkflowTemplatePlacementManagedClusterConfigWorkerConfigArgs> workerConfig)
- Parameters:
workerConfig
- Optional. The Compute Engine config settings for additional worker instances in a cluster.- Returns:
- builder
-
workerConfig
public WorkflowTemplatePlacementManagedClusterConfigArgs.Builder workerConfig(WorkflowTemplatePlacementManagedClusterConfigWorkerConfigArgs workerConfig)
- Parameters:
workerConfig
- Optional. The Compute Engine config settings for additional worker instances in a cluster.- Returns:
- builder
-
build
public WorkflowTemplatePlacementManagedClusterConfigArgs build()
-
-