Package com.pulumi.gcp.dataproc.inputs
Class ClusterClusterConfigMasterConfigArgs.Builder
- java.lang.Object
-
- com.pulumi.gcp.dataproc.inputs.ClusterClusterConfigMasterConfigArgs.Builder
-
- Enclosing class:
- ClusterClusterConfigMasterConfigArgs
public static final class ClusterClusterConfigMasterConfigArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(ClusterClusterConfigMasterConfigArgs defaults)
-
Method Summary
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(ClusterClusterConfigMasterConfigArgs defaults)
-
-
Method Detail
-
accelerators
public ClusterClusterConfigMasterConfigArgs.Builder accelerators(@Nullable com.pulumi.core.Output<java.util.List<ClusterClusterConfigMasterConfigAcceleratorArgs>> accelerators)
- Parameters:
accelerators
- The Compute Engine accelerator configuration for these instances. Can be specified multiple times.- Returns:
- builder
-
accelerators
public ClusterClusterConfigMasterConfigArgs.Builder accelerators(java.util.List<ClusterClusterConfigMasterConfigAcceleratorArgs> accelerators)
- Parameters:
accelerators
- The Compute Engine accelerator configuration for these instances. Can be specified multiple times.- Returns:
- builder
-
accelerators
public ClusterClusterConfigMasterConfigArgs.Builder accelerators(ClusterClusterConfigMasterConfigAcceleratorArgs... accelerators)
- Parameters:
accelerators
- The Compute Engine accelerator configuration for these instances. Can be specified multiple times.- Returns:
- builder
-
diskConfig
public ClusterClusterConfigMasterConfigArgs.Builder diskConfig(@Nullable com.pulumi.core.Output<ClusterClusterConfigMasterConfigDiskConfigArgs> diskConfig)
- Parameters:
diskConfig
- Disk Config- Returns:
- builder
-
diskConfig
public ClusterClusterConfigMasterConfigArgs.Builder diskConfig(ClusterClusterConfigMasterConfigDiskConfigArgs diskConfig)
- Parameters:
diskConfig
- Disk Config- Returns:
- builder
-
imageUri
public ClusterClusterConfigMasterConfigArgs.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 ClusterClusterConfigMasterConfigArgs.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
-
instanceNames
public ClusterClusterConfigMasterConfigArgs.Builder instanceNames(@Nullable com.pulumi.core.Output<java.util.List<java.lang.String>> instanceNames)
-
instanceNames
public ClusterClusterConfigMasterConfigArgs.Builder instanceNames(java.util.List<java.lang.String> instanceNames)
-
instanceNames
public ClusterClusterConfigMasterConfigArgs.Builder instanceNames(java.lang.String... instanceNames)
-
machineType
public ClusterClusterConfigMasterConfigArgs.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 ClusterClusterConfigMasterConfigArgs.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 ClusterClusterConfigMasterConfigArgs.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 ClusterClusterConfigMasterConfigArgs.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
-
numInstances
public ClusterClusterConfigMasterConfigArgs.Builder numInstances(@Nullable com.pulumi.core.Output<java.lang.Integer> numInstances)
- Parameters:
numInstances
- Specifies the number of preemptible nodes to create. Defaults to 0.- Returns:
- builder
-
numInstances
public ClusterClusterConfigMasterConfigArgs.Builder numInstances(java.lang.Integer numInstances)
- Parameters:
numInstances
- Specifies the number of preemptible nodes to create. Defaults to 0.- Returns:
- builder
-
build
public ClusterClusterConfigMasterConfigArgs build()
-
-