Class IotHubReplicaRoleType


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

      • PRIMARY

        public static final IotHubReplicaRoleType PRIMARY
        Static value primary for IotHubReplicaRoleType.
      • SECONDARY

        public static final IotHubReplicaRoleType SECONDARY
        Static value secondary for IotHubReplicaRoleType.
    • Constructor Detail

      • IotHubReplicaRoleType

        public IotHubReplicaRoleType()
    • Method Detail

      • fromString

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