java.lang.Object
com.azure.core.util.ExpandableStringEnum<WorkerType>
com.azure.resourcemanager.automation.models.WorkerType

public final class WorkerType extends com.azure.core.util.ExpandableStringEnum<WorkerType>
Type of the HybridWorker.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final WorkerType
    Static value HybridV1 for WorkerType.
    static final WorkerType
    Static value HybridV2 for WorkerType.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static WorkerType
    Creates or finds a WorkerType from its string representation.
    Gets known WorkerType values.

    Methods inherited from class com.azure.core.util.ExpandableStringEnum

    equals, fromString, hashCode, toString, values

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Field Details

    • HYBRID_V1

      public static final WorkerType HYBRID_V1
      Static value HybridV1 for WorkerType.
    • HYBRID_V2

      public static final WorkerType HYBRID_V2
      Static value HybridV2 for WorkerType.
  • Constructor Details

    • WorkerType

      public WorkerType()
  • Method Details

    • fromString

      public static WorkerType fromString(String name)
      Creates or finds a WorkerType from its string representation.
      Parameters:
      name - a name to look for.
      Returns:
      the corresponding WorkerType.
    • values

      public static Collection<WorkerType> values()
      Gets known WorkerType values.
      Returns:
      known WorkerType values.