Class GrainParameter

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

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

    • HOURLY

      public static final GrainParameter HOURLY
      Static value Hourly for GrainParameter.
    • DAILY

      public static final GrainParameter DAILY
      Static value Daily for GrainParameter.
    • MONTHLY

      public static final GrainParameter MONTHLY
      Static value Monthly for GrainParameter.
  • Constructor Details

    • GrainParameter

      @Deprecated public GrainParameter()
      Deprecated.
      Use the fromString(String) factory method.
      Creates a new instance of GrainParameter value.
  • Method Details

    • fromString

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

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