java.lang.Object
com.azure.core.util.ExpandableStringEnum<Scope>
com.azure.resourcemanager.costmanagement.models.Scope

public final class Scope extends com.azure.core.util.ExpandableStringEnum<Scope>
Kind of the recommendation scope.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final Scope
    Static value Shared for Scope.
    static final Scope
    Static value Single for Scope.
  • Constructor Summary

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

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

    • SINGLE

      public static final Scope SINGLE
      Static value Single for Scope.
    • SHARED

      public static final Scope SHARED
      Static value Shared for Scope.
  • Constructor Details

  • Method Details

    • fromString

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

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