Package com.pulumi.gcp.dataproc.inputs
Class ClusterClusterConfigArgs.Builder
- java.lang.Object
-
- com.pulumi.gcp.dataproc.inputs.ClusterClusterConfigArgs.Builder
-
- Enclosing class:
- ClusterClusterConfigArgs
public static final class ClusterClusterConfigArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(ClusterClusterConfigArgs defaults)
-
Method Summary
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(ClusterClusterConfigArgs defaults)
-
-
Method Detail
-
autoscalingConfig
public ClusterClusterConfigArgs.Builder autoscalingConfig(@Nullable com.pulumi.core.Output<ClusterClusterConfigAutoscalingConfigArgs> autoscalingConfig)
- Parameters:
autoscalingConfig
- The autoscaling policy config associated with the cluster. Note that once set, if `autoscaling_config` is the only field set in `cluster_config`, it can only be removed by setting `policy_uri = ""`, rather than removing the whole block. Structure defined below.- Returns:
- builder
-
autoscalingConfig
public ClusterClusterConfigArgs.Builder autoscalingConfig(ClusterClusterConfigAutoscalingConfigArgs autoscalingConfig)
- Parameters:
autoscalingConfig
- The autoscaling policy config associated with the cluster. Note that once set, if `autoscaling_config` is the only field set in `cluster_config`, it can only be removed by setting `policy_uri = ""`, rather than removing the whole block. Structure defined below.- Returns:
- builder
-
bucket
public ClusterClusterConfigArgs.Builder bucket(@Nullable com.pulumi.core.Output<java.lang.String> bucket)
-
bucket
public ClusterClusterConfigArgs.Builder bucket(java.lang.String bucket)
-
dataprocMetricConfig
public ClusterClusterConfigArgs.Builder dataprocMetricConfig(@Nullable com.pulumi.core.Output<ClusterClusterConfigDataprocMetricConfigArgs> dataprocMetricConfig)
- Parameters:
dataprocMetricConfig
- The Compute Engine accelerator (GPU) configuration for these instances. Can be specified multiple times. Structure defined below.- Returns:
- builder
-
dataprocMetricConfig
public ClusterClusterConfigArgs.Builder dataprocMetricConfig(ClusterClusterConfigDataprocMetricConfigArgs dataprocMetricConfig)
- Parameters:
dataprocMetricConfig
- The Compute Engine accelerator (GPU) configuration for these instances. Can be specified multiple times. Structure defined below.- Returns:
- builder
-
encryptionConfig
public ClusterClusterConfigArgs.Builder encryptionConfig(@Nullable com.pulumi.core.Output<ClusterClusterConfigEncryptionConfigArgs> encryptionConfig)
- Parameters:
encryptionConfig
- The Customer managed encryption keys settings for the cluster. Structure defined below.- Returns:
- builder
-
encryptionConfig
public ClusterClusterConfigArgs.Builder encryptionConfig(ClusterClusterConfigEncryptionConfigArgs encryptionConfig)
- Parameters:
encryptionConfig
- The Customer managed encryption keys settings for the cluster. Structure defined below.- Returns:
- builder
-
endpointConfig
public ClusterClusterConfigArgs.Builder endpointConfig(@Nullable com.pulumi.core.Output<ClusterClusterConfigEndpointConfigArgs> endpointConfig)
- Parameters:
endpointConfig
- The config settings for port access on the cluster. Structure defined below.- Returns:
- builder
-
endpointConfig
public ClusterClusterConfigArgs.Builder endpointConfig(ClusterClusterConfigEndpointConfigArgs endpointConfig)
- Parameters:
endpointConfig
- The config settings for port access on the cluster. Structure defined below.- Returns:
- builder
-
gceClusterConfig
public ClusterClusterConfigArgs.Builder gceClusterConfig(@Nullable com.pulumi.core.Output<ClusterClusterConfigGceClusterConfigArgs> gceClusterConfig)
- Parameters:
gceClusterConfig
- Common config settings for resources of Google Compute Engine cluster instances, applicable to all instances in the cluster. Structure defined below.- Returns:
- builder
-
gceClusterConfig
public ClusterClusterConfigArgs.Builder gceClusterConfig(ClusterClusterConfigGceClusterConfigArgs gceClusterConfig)
- Parameters:
gceClusterConfig
- Common config settings for resources of Google Compute Engine cluster instances, applicable to all instances in the cluster. Structure defined below.- Returns:
- builder
-
initializationActions
public ClusterClusterConfigArgs.Builder initializationActions(@Nullable com.pulumi.core.Output<java.util.List<ClusterClusterConfigInitializationActionArgs>> initializationActions)
- Parameters:
initializationActions
- Commands to execute on each node after config is completed. You can specify multiple versions of these. Structure defined below.- Returns:
- builder
-
initializationActions
public ClusterClusterConfigArgs.Builder initializationActions(java.util.List<ClusterClusterConfigInitializationActionArgs> initializationActions)
- Parameters:
initializationActions
- Commands to execute on each node after config is completed. You can specify multiple versions of these. Structure defined below.- Returns:
- builder
-
initializationActions
public ClusterClusterConfigArgs.Builder initializationActions(ClusterClusterConfigInitializationActionArgs... initializationActions)
- Parameters:
initializationActions
- Commands to execute on each node after config is completed. You can specify multiple versions of these. Structure defined below.- Returns:
- builder
-
lifecycleConfig
public ClusterClusterConfigArgs.Builder lifecycleConfig(@Nullable com.pulumi.core.Output<ClusterClusterConfigLifecycleConfigArgs> lifecycleConfig)
- Parameters:
lifecycleConfig
- The settings for auto deletion cluster schedule. Structure defined below.- Returns:
- builder
-
lifecycleConfig
public ClusterClusterConfigArgs.Builder lifecycleConfig(ClusterClusterConfigLifecycleConfigArgs lifecycleConfig)
- Parameters:
lifecycleConfig
- The settings for auto deletion cluster schedule. Structure defined below.- Returns:
- builder
-
masterConfig
public ClusterClusterConfigArgs.Builder masterConfig(@Nullable com.pulumi.core.Output<ClusterClusterConfigMasterConfigArgs> masterConfig)
- Parameters:
masterConfig
- The Google Compute Engine config settings for the master instances in a cluster. Structure defined below.- Returns:
- builder
-
masterConfig
public ClusterClusterConfigArgs.Builder masterConfig(ClusterClusterConfigMasterConfigArgs masterConfig)
- Parameters:
masterConfig
- The Google Compute Engine config settings for the master instances in a cluster. Structure defined below.- Returns:
- builder
-
metastoreConfig
public ClusterClusterConfigArgs.Builder metastoreConfig(@Nullable com.pulumi.core.Output<ClusterClusterConfigMetastoreConfigArgs> metastoreConfig)
- Parameters:
metastoreConfig
- The config setting for metastore service with the cluster. Structure defined below. ***- Returns:
- builder
-
metastoreConfig
public ClusterClusterConfigArgs.Builder metastoreConfig(ClusterClusterConfigMetastoreConfigArgs metastoreConfig)
- Parameters:
metastoreConfig
- The config setting for metastore service with the cluster. Structure defined below. ***- Returns:
- builder
-
preemptibleWorkerConfig
public ClusterClusterConfigArgs.Builder preemptibleWorkerConfig(@Nullable com.pulumi.core.Output<ClusterClusterConfigPreemptibleWorkerConfigArgs> preemptibleWorkerConfig)
- Parameters:
preemptibleWorkerConfig
- The Google Compute Engine config settings for the additional instances in a cluster. Structure defined below. * **NOTE** : `preemptible_worker_config` is an alias for the api's [secondaryWorkerConfig](https://cloud.google.com/dataproc/docs/reference/rest/v1/ClusterConfig#InstanceGroupConfig). The name doesn't necessarily mean it is preemptible and is named as such for legacy/compatibility reasons.- Returns:
- builder
-
preemptibleWorkerConfig
public ClusterClusterConfigArgs.Builder preemptibleWorkerConfig(ClusterClusterConfigPreemptibleWorkerConfigArgs preemptibleWorkerConfig)
- Parameters:
preemptibleWorkerConfig
- The Google Compute Engine config settings for the additional instances in a cluster. Structure defined below. * **NOTE** : `preemptible_worker_config` is an alias for the api's [secondaryWorkerConfig](https://cloud.google.com/dataproc/docs/reference/rest/v1/ClusterConfig#InstanceGroupConfig). The name doesn't necessarily mean it is preemptible and is named as such for legacy/compatibility reasons.- Returns:
- builder
-
securityConfig
public ClusterClusterConfigArgs.Builder securityConfig(@Nullable com.pulumi.core.Output<ClusterClusterConfigSecurityConfigArgs> securityConfig)
- Parameters:
securityConfig
- Security related configuration. Structure defined below.- Returns:
- builder
-
securityConfig
public ClusterClusterConfigArgs.Builder securityConfig(ClusterClusterConfigSecurityConfigArgs securityConfig)
- Parameters:
securityConfig
- Security related configuration. Structure defined below.- Returns:
- builder
-
softwareConfig
public ClusterClusterConfigArgs.Builder softwareConfig(@Nullable com.pulumi.core.Output<ClusterClusterConfigSoftwareConfigArgs> softwareConfig)
- Parameters:
softwareConfig
- The config settings for software inside the cluster. Structure defined below.- Returns:
- builder
-
softwareConfig
public ClusterClusterConfigArgs.Builder softwareConfig(ClusterClusterConfigSoftwareConfigArgs softwareConfig)
- Parameters:
softwareConfig
- The config settings for software inside the cluster. Structure defined below.- Returns:
- builder
-
stagingBucket
public ClusterClusterConfigArgs.Builder stagingBucket(@Nullable com.pulumi.core.Output<java.lang.String> stagingBucket)
- Parameters:
stagingBucket
- The Cloud Storage staging bucket used to stage files, such as Hadoop jars, between client machines and the cluster. Note: If you don't explicitly specify a `staging_bucket` then GCP will auto create / assign one for you. However, you are not guaranteed an auto generated bucket which is solely dedicated to your cluster; it may be shared with other clusters in the same region/zone also choosing to use the auto generation option.- Returns:
- builder
-
stagingBucket
public ClusterClusterConfigArgs.Builder stagingBucket(java.lang.String stagingBucket)
- Parameters:
stagingBucket
- The Cloud Storage staging bucket used to stage files, such as Hadoop jars, between client machines and the cluster. Note: If you don't explicitly specify a `staging_bucket` then GCP will auto create / assign one for you. However, you are not guaranteed an auto generated bucket which is solely dedicated to your cluster; it may be shared with other clusters in the same region/zone also choosing to use the auto generation option.- Returns:
- builder
-
tempBucket
public ClusterClusterConfigArgs.Builder tempBucket(@Nullable com.pulumi.core.Output<java.lang.String> tempBucket)
- Parameters:
tempBucket
- The Cloud Storage temp bucket used to store ephemeral cluster and jobs data, such as Spark and MapReduce history files. Note: If you don't explicitly specify a `temp_bucket` then GCP will auto create / assign one for you.- Returns:
- builder
-
tempBucket
public ClusterClusterConfigArgs.Builder tempBucket(java.lang.String tempBucket)
- Parameters:
tempBucket
- The Cloud Storage temp bucket used to store ephemeral cluster and jobs data, such as Spark and MapReduce history files. Note: If you don't explicitly specify a `temp_bucket` then GCP will auto create / assign one for you.- Returns:
- builder
-
workerConfig
public ClusterClusterConfigArgs.Builder workerConfig(@Nullable com.pulumi.core.Output<ClusterClusterConfigWorkerConfigArgs> workerConfig)
- Parameters:
workerConfig
- The Google Compute Engine config settings for the worker instances in a cluster. Structure defined below.- Returns:
- builder
-
workerConfig
public ClusterClusterConfigArgs.Builder workerConfig(ClusterClusterConfigWorkerConfigArgs workerConfig)
- Parameters:
workerConfig
- The Google Compute Engine config settings for the worker instances in a cluster. Structure defined below.- Returns:
- builder
-
build
public ClusterClusterConfigArgs build()
-
-