Class ClusterClusterConfigArgs.Builder

  • Enclosing class:
    ClusterClusterConfigArgs

    public static final class ClusterClusterConfigArgs.Builder
    extends java.lang.Object
    • 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
      • 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
      • 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
      • 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
      • 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