Package com.pulumi.gcp.dataproc.inputs
Class WorkflowTemplatePlacementManagedClusterConfigWorkerConfigArgs.Builder
- java.lang.Object
-
- com.pulumi.gcp.dataproc.inputs.WorkflowTemplatePlacementManagedClusterConfigWorkerConfigArgs.Builder
-
- Enclosing class:
- WorkflowTemplatePlacementManagedClusterConfigWorkerConfigArgs
public static final class WorkflowTemplatePlacementManagedClusterConfigWorkerConfigArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(WorkflowTemplatePlacementManagedClusterConfigWorkerConfigArgs defaults)
-
Method Summary
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(WorkflowTemplatePlacementManagedClusterConfigWorkerConfigArgs defaults)
-
-
Method Detail
-
accelerators
public WorkflowTemplatePlacementManagedClusterConfigWorkerConfigArgs.Builder accelerators(@Nullable com.pulumi.core.Output<java.util.List<WorkflowTemplatePlacementManagedClusterConfigWorkerConfigAcceleratorArgs>> accelerators)
- Parameters:
accelerators
- Optional. The Compute Engine accelerator configuration for these instances.- Returns:
- builder
-
accelerators
public WorkflowTemplatePlacementManagedClusterConfigWorkerConfigArgs.Builder accelerators(java.util.List<WorkflowTemplatePlacementManagedClusterConfigWorkerConfigAcceleratorArgs> accelerators)
- Parameters:
accelerators
- Optional. The Compute Engine accelerator configuration for these instances.- Returns:
- builder
-
accelerators
public WorkflowTemplatePlacementManagedClusterConfigWorkerConfigArgs.Builder accelerators(WorkflowTemplatePlacementManagedClusterConfigWorkerConfigAcceleratorArgs... accelerators)
- Parameters:
accelerators
- Optional. The Compute Engine accelerator configuration for these instances.- Returns:
- builder
-
diskConfig
public WorkflowTemplatePlacementManagedClusterConfigWorkerConfigArgs.Builder diskConfig(@Nullable com.pulumi.core.Output<WorkflowTemplatePlacementManagedClusterConfigWorkerConfigDiskConfigArgs> diskConfig)
- Parameters:
diskConfig
- Optional. Disk option config settings.- Returns:
- builder
-
diskConfig
public WorkflowTemplatePlacementManagedClusterConfigWorkerConfigArgs.Builder diskConfig(WorkflowTemplatePlacementManagedClusterConfigWorkerConfigDiskConfigArgs diskConfig)
- Parameters:
diskConfig
- Optional. Disk option config settings.- Returns:
- builder
-
image
public WorkflowTemplatePlacementManagedClusterConfigWorkerConfigArgs.Builder image(@Nullable com.pulumi.core.Output<java.lang.String> image)
- Parameters:
image
- Optional. The Compute Engine image resource used for cluster instances. The URI can represent an image or image family. Image examples: * `https://www.googleapis.com/compute/beta/projects/` If the URI is unspecified, it will be inferred from `SoftwareConfig.image_version` or the system default.- Returns:
- builder
-
image
public WorkflowTemplatePlacementManagedClusterConfigWorkerConfigArgs.Builder image(java.lang.String image)
- Parameters:
image
- Optional. The Compute Engine image resource used for cluster instances. The URI can represent an image or image family. Image examples: * `https://www.googleapis.com/compute/beta/projects/` If the URI is unspecified, it will be inferred from `SoftwareConfig.image_version` or the system default.- Returns:
- builder
-
instanceNames
public WorkflowTemplatePlacementManagedClusterConfigWorkerConfigArgs.Builder instanceNames(@Nullable com.pulumi.core.Output<java.util.List<java.lang.String>> instanceNames)
- Parameters:
instanceNames
- - Output only. The list of instance names. Dataproc derives the names from `cluster_name`, `num_instances`, and the instance group.- Returns:
- builder
-
instanceNames
public WorkflowTemplatePlacementManagedClusterConfigWorkerConfigArgs.Builder instanceNames(java.util.List<java.lang.String> instanceNames)
- Parameters:
instanceNames
- - Output only. The list of instance names. Dataproc derives the names from `cluster_name`, `num_instances`, and the instance group.- Returns:
- builder
-
instanceNames
public WorkflowTemplatePlacementManagedClusterConfigWorkerConfigArgs.Builder instanceNames(java.lang.String... instanceNames)
- Parameters:
instanceNames
- - Output only. The list of instance names. Dataproc derives the names from `cluster_name`, `num_instances`, and the instance group.- Returns:
- builder
-
isPreemptible
public WorkflowTemplatePlacementManagedClusterConfigWorkerConfigArgs.Builder isPreemptible(@Nullable com.pulumi.core.Output<java.lang.Boolean> isPreemptible)
- Parameters:
isPreemptible
- - Output only. Specifies that this instance group contains preemptible instances.- Returns:
- builder
-
isPreemptible
public WorkflowTemplatePlacementManagedClusterConfigWorkerConfigArgs.Builder isPreemptible(java.lang.Boolean isPreemptible)
- Parameters:
isPreemptible
- - Output only. Specifies that this instance group contains preemptible instances.- Returns:
- builder
-
machineType
public WorkflowTemplatePlacementManagedClusterConfigWorkerConfigArgs.Builder machineType(@Nullable com.pulumi.core.Output<java.lang.String> machineType)
- Parameters:
machineType
- Optional. The Compute Engine machine type used for cluster instances. A full URL, partial URI, or short name are valid. Examples: * ` https://www.googleapis.com/compute/v1/projects/(https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/auto-zone#using_auto_zone_placement) feature, you must use the short name of the machine type resource, for example, `n1-standard-2`.- Returns:
- builder
-
machineType
public WorkflowTemplatePlacementManagedClusterConfigWorkerConfigArgs.Builder machineType(java.lang.String machineType)
- Parameters:
machineType
- Optional. The Compute Engine machine type used for cluster instances. A full URL, partial URI, or short name are valid. Examples: * ` https://www.googleapis.com/compute/v1/projects/(https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/auto-zone#using_auto_zone_placement) feature, you must use the short name of the machine type resource, for example, `n1-standard-2`.- Returns:
- builder
-
managedGroupConfigs
public WorkflowTemplatePlacementManagedClusterConfigWorkerConfigArgs.Builder managedGroupConfigs(@Nullable com.pulumi.core.Output<java.util.List<WorkflowTemplatePlacementManagedClusterConfigWorkerConfigManagedGroupConfigArgs>> managedGroupConfigs)
- Parameters:
managedGroupConfigs
- - Output only. The config for Compute Engine Instance Group Manager that manages this group. This is only used for preemptible instance groups.- Returns:
- builder
-
managedGroupConfigs
public WorkflowTemplatePlacementManagedClusterConfigWorkerConfigArgs.Builder managedGroupConfigs(java.util.List<WorkflowTemplatePlacementManagedClusterConfigWorkerConfigManagedGroupConfigArgs> managedGroupConfigs)
- Parameters:
managedGroupConfigs
- - Output only. The config for Compute Engine Instance Group Manager that manages this group. This is only used for preemptible instance groups.- Returns:
- builder
-
managedGroupConfigs
public WorkflowTemplatePlacementManagedClusterConfigWorkerConfigArgs.Builder managedGroupConfigs(WorkflowTemplatePlacementManagedClusterConfigWorkerConfigManagedGroupConfigArgs... managedGroupConfigs)
- Parameters:
managedGroupConfigs
- - Output only. The config for Compute Engine Instance Group Manager that manages this group. This is only used for preemptible instance groups.- Returns:
- builder
-
minCpuPlatform
public WorkflowTemplatePlacementManagedClusterConfigWorkerConfigArgs.Builder minCpuPlatform(@Nullable com.pulumi.core.Output<java.lang.String> minCpuPlatform)
- Parameters:
minCpuPlatform
- Optional. Specifies the minimum cpu platform for the Instance Group. See (https://cloud.google.com/dataproc/docs/concepts/compute/dataproc-min-cpu).- Returns:
- builder
-
minCpuPlatform
public WorkflowTemplatePlacementManagedClusterConfigWorkerConfigArgs.Builder minCpuPlatform(java.lang.String minCpuPlatform)
- Parameters:
minCpuPlatform
- Optional. Specifies the minimum cpu platform for the Instance Group. See (https://cloud.google.com/dataproc/docs/concepts/compute/dataproc-min-cpu).- Returns:
- builder
-
numInstances
public WorkflowTemplatePlacementManagedClusterConfigWorkerConfigArgs.Builder numInstances(@Nullable com.pulumi.core.Output<java.lang.Integer> numInstances)
- Parameters:
numInstances
- Optional. The number of VM instances in the instance group. For master instance groups, must be set to 1.- Returns:
- builder
-
numInstances
public WorkflowTemplatePlacementManagedClusterConfigWorkerConfigArgs.Builder numInstances(java.lang.Integer numInstances)
- Parameters:
numInstances
- Optional. The number of VM instances in the instance group. For master instance groups, must be set to 1.- Returns:
- builder
-
preemptibility
public WorkflowTemplatePlacementManagedClusterConfigWorkerConfigArgs.Builder preemptibility(@Nullable com.pulumi.core.Output<java.lang.String> preemptibility)
- Parameters:
preemptibility
- Optional. Specifies the preemptibility of the instance group. The default value for master and worker groups is `NON_PREEMPTIBLE`. This default cannot be changed. The default value for secondary instances is `PREEMPTIBLE`. Possible values: PREEMPTIBILITY_UNSPECIFIED, NON_PREEMPTIBLE, PREEMPTIBLE- Returns:
- builder
-
preemptibility
public WorkflowTemplatePlacementManagedClusterConfigWorkerConfigArgs.Builder preemptibility(java.lang.String preemptibility)
- Parameters:
preemptibility
- Optional. Specifies the preemptibility of the instance group. The default value for master and worker groups is `NON_PREEMPTIBLE`. This default cannot be changed. The default value for secondary instances is `PREEMPTIBLE`. Possible values: PREEMPTIBILITY_UNSPECIFIED, NON_PREEMPTIBLE, PREEMPTIBLE- Returns:
- builder
-
build
public WorkflowTemplatePlacementManagedClusterConfigWorkerConfigArgs build()
-
-