java.lang.Object
com.azure.core.util.ExpandableStringEnum<Reason>
com.azure.resourcemanager.digitaltwins.models.Reason

public final class Reason extends com.azure.core.util.ExpandableStringEnum<Reason>
Defines values for Reason.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final Reason
    Static value AlreadyExists for Reason.
    static final Reason
    Static value Invalid for Reason.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static Reason
    Creates or finds a Reason from its string representation.
    Gets known Reason 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

    • INVALID

      public static final Reason INVALID
      Static value Invalid for Reason.
    • ALREADY_EXISTS

      public static final Reason ALREADY_EXISTS
      Static value AlreadyExists for Reason.
  • Constructor Details

    • Reason

      public Reason()
  • Method Details

    • fromString

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

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