Class AffinityType


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

      • AFFINITY

        public static final AffinityType AFFINITY
        Static value Affinity for AffinityType.
      • ANTI_AFFINITY

        public static final AffinityType ANTI_AFFINITY
        Static value AntiAffinity for AffinityType.
    • Constructor Detail

      • AffinityType

        public AffinityType()
    • Method Detail

      • fromString

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