Class IotHubReplicaRoleType
- java.lang.Object
-
- com.azure.core.util.ExpandableStringEnum<IotHubReplicaRoleType>
-
- com.azure.resourcemanager.iothub.models.IotHubReplicaRoleType
-
public final class IotHubReplicaRoleType extends com.azure.core.util.ExpandableStringEnum<IotHubReplicaRoleType>
Defines values for IotHubReplicaRoleType.
-
-
Field Summary
Fields Modifier and Type Field Description static IotHubReplicaRoleType
PRIMARY
Static value primary for IotHubReplicaRoleType.static IotHubReplicaRoleType
SECONDARY
Static value secondary for IotHubReplicaRoleType.
-
Constructor Summary
Constructors Constructor Description IotHubReplicaRoleType()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static IotHubReplicaRoleType
fromString(String name)
Creates or finds a IotHubReplicaRoleType from its string representation.static Collection<IotHubReplicaRoleType>
values()
-
-
-
Field Detail
-
PRIMARY
public static final IotHubReplicaRoleType PRIMARY
Static value primary for IotHubReplicaRoleType.
-
SECONDARY
public static final IotHubReplicaRoleType SECONDARY
Static value secondary for 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.
-
values
public static Collection<IotHubReplicaRoleType> values()
- Returns:
- known IotHubReplicaRoleType values.
-
-