Class WorkflowTemplatePlacementManagedClusterConfigSecondaryWorkerConfig


  • public final class WorkflowTemplatePlacementManagedClusterConfigSecondaryWorkerConfig
    extends java.lang.Object
    • Method Detail

      • image

        public java.util.Optional<java.lang.String> image()
        Returns:
        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.
      • instanceNames

        public java.util.List<java.lang.String> instanceNames()
        Returns:
        Output only. The list of instance names. Dataproc derives the names from `cluster_name`, `num_instances`, and the instance group.
      • isPreemptible

        public java.util.Optional<java.lang.Boolean> isPreemptible()
        Returns:
        Output only. Specifies that this instance group contains preemptible instances.
      • machineType

        public java.util.Optional<java.lang.String> machineType()
        Returns:
        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`.
      • minCpuPlatform

        public java.util.Optional<java.lang.String> minCpuPlatform()
        Returns:
        Specifies the minimum cpu platform for the Instance Group. See (https://cloud.google.com/dataproc/docs/concepts/compute/dataproc-min-cpu).
      • numInstances

        public java.util.Optional<java.lang.Integer> numInstances()
        Returns:
        The number of VM instances in the instance group. For master instance groups, must be set to 1.
      • preemptibility

        public java.util.Optional<java.lang.String> preemptibility()
        Returns:
        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