Class ClusterClusterConfigWorkerConfigArgs.Builder

    • Method Detail

      • imageUri

        public ClusterClusterConfigWorkerConfigArgs.Builder imageUri​(@Nullable
                                                                     com.pulumi.core.Output<java.lang.String> imageUri)
        Parameters:
        imageUri - The URI for the image to use for this worker. See [the guide](https://cloud.google.com/dataproc/docs/guides/dataproc-images) for more information.
        Returns:
        builder
      • imageUri

        public ClusterClusterConfigWorkerConfigArgs.Builder imageUri​(java.lang.String imageUri)
        Parameters:
        imageUri - The URI for the image to use for this worker. See [the guide](https://cloud.google.com/dataproc/docs/guides/dataproc-images) for more information.
        Returns:
        builder
      • machineType

        public ClusterClusterConfigWorkerConfigArgs.Builder machineType​(@Nullable
                                                                        com.pulumi.core.Output<java.lang.String> machineType)
        Parameters:
        machineType - The name of a Google Compute Engine machine type to create for the worker nodes. If not specified, GCP will default to a predetermined computed value (currently `n1-standard-4`).
        Returns:
        builder
      • machineType

        public ClusterClusterConfigWorkerConfigArgs.Builder machineType​(java.lang.String machineType)
        Parameters:
        machineType - The name of a Google Compute Engine machine type to create for the worker nodes. If not specified, GCP will default to a predetermined computed value (currently `n1-standard-4`).
        Returns:
        builder
      • minCpuPlatform

        public ClusterClusterConfigWorkerConfigArgs.Builder minCpuPlatform​(@Nullable
                                                                           com.pulumi.core.Output<java.lang.String> minCpuPlatform)
        Parameters:
        minCpuPlatform - The name of a minimum generation of CPU family for the master. If not specified, GCP will default to a predetermined computed value for each zone. See [the guide](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform) for details about which CPU families are available (and defaulted) for each zone.
        Returns:
        builder
      • minCpuPlatform

        public ClusterClusterConfigWorkerConfigArgs.Builder minCpuPlatform​(java.lang.String minCpuPlatform)
        Parameters:
        minCpuPlatform - The name of a minimum generation of CPU family for the master. If not specified, GCP will default to a predetermined computed value for each zone. See [the guide](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform) for details about which CPU families are available (and defaulted) for each zone.
        Returns:
        builder
      • minNumInstances

        public ClusterClusterConfigWorkerConfigArgs.Builder minNumInstances​(@Nullable
                                                                            com.pulumi.core.Output<java.lang.Integer> minNumInstances)
        Parameters:
        minNumInstances - The minimum number of primary worker instances to create. If `min_num_instances` is set, cluster creation will succeed if the number of primary workers created is at least equal to the `min_num_instances` number.
        Returns:
        builder
      • minNumInstances

        public ClusterClusterConfigWorkerConfigArgs.Builder minNumInstances​(java.lang.Integer minNumInstances)
        Parameters:
        minNumInstances - The minimum number of primary worker instances to create. If `min_num_instances` is set, cluster creation will succeed if the number of primary workers created is at least equal to the `min_num_instances` number.
        Returns:
        builder
      • numInstances

        public ClusterClusterConfigWorkerConfigArgs.Builder numInstances​(@Nullable
                                                                         com.pulumi.core.Output<java.lang.Integer> numInstances)
        Parameters:
        numInstances - Specifies the number of worker nodes to create. If not specified, GCP will default to a predetermined computed value (currently 2). There is currently a beta feature which allows you to run a [Single Node Cluster](https://cloud.google.com/dataproc/docs/concepts/single-node-clusters). In order to take advantage of this you need to set `"dataproc:dataproc.allow.zero.workers" = "true"` in `cluster_config.software_config.properties`
        Returns:
        builder
      • numInstances

        public ClusterClusterConfigWorkerConfigArgs.Builder numInstances​(java.lang.Integer numInstances)
        Parameters:
        numInstances - Specifies the number of worker nodes to create. If not specified, GCP will default to a predetermined computed value (currently 2). There is currently a beta feature which allows you to run a [Single Node Cluster](https://cloud.google.com/dataproc/docs/concepts/single-node-clusters). In order to take advantage of this you need to set `"dataproc:dataproc.allow.zero.workers" = "true"` in `cluster_config.software_config.properties`
        Returns:
        builder