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

public final class SamplingType extends com.azure.core.util.ExpandableStringEnum<SamplingType>
Sampling type.
  • Field Details

    • FIXED

      public static final SamplingType FIXED
      Static value fixed for SamplingType.
  • Constructor Details

    • SamplingType

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

    • fromString

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

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