Class Cancel

java.lang.Object
com.azure.core.util.ExpandableStringEnum<Cancel>
com.azure.resourcemanager.postgresqlflexibleserver.models.Cancel
All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>

public final class Cancel extends com.azure.core.util.ExpandableStringEnum<Cancel>
Indicates if cancel must be triggered for the entire migration.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final Cancel
    Static value False for Cancel.
    static final Cancel
    Static value True for Cancel.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Deprecated.
    Use the fromString(String) factory method.
  • Method Summary

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

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

    equals, fromString, getValue, hashCode, toString, values

    Methods inherited from class Object

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

    • TRUE

      public static final Cancel TRUE
      Static value True for Cancel.
    • FALSE

      public static final Cancel FALSE
      Static value False for Cancel.
  • Constructor Details

  • Method Details

    • fromString

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

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