Enum EntityStatus
- java.lang.Object
-
- java.lang.Enum<EntityStatus>
-
- com.azure.resourcemanager.servicebus.models.EntityStatus
-
- All Implemented Interfaces:
Serializable,Comparable<EntityStatus>
public enum EntityStatus extends Enum<EntityStatus>
Defines values for EntityStatus.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACTIVEEnum value Active.CREATINGEnum value Creating.DELETINGEnum value Deleting.DISABLEDEnum value Disabled.RECEIVE_DISABLEDEnum value ReceiveDisabled.RENAMINGEnum value Renaming.RESTORINGEnum value Restoring.SEND_DISABLEDEnum value SendDisabled.UNKNOWNEnum value Unknown.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static EntityStatusfromString(String value)Parses a serialized value to a EntityStatus instance.StringtoString()static EntityStatusvalueOf(String name)Returns the enum constant of this type with the specified name.static EntityStatus[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ACTIVE
public static final EntityStatus ACTIVE
Enum value Active.
-
DISABLED
public static final EntityStatus DISABLED
Enum value Disabled.
-
RESTORING
public static final EntityStatus RESTORING
Enum value Restoring.
-
SEND_DISABLED
public static final EntityStatus SEND_DISABLED
Enum value SendDisabled.
-
RECEIVE_DISABLED
public static final EntityStatus RECEIVE_DISABLED
Enum value ReceiveDisabled.
-
CREATING
public static final EntityStatus CREATING
Enum value Creating.
-
DELETING
public static final EntityStatus DELETING
Enum value Deleting.
-
RENAMING
public static final EntityStatus RENAMING
Enum value Renaming.
-
UNKNOWN
public static final EntityStatus UNKNOWN
Enum value Unknown.
-
-
Method Detail
-
values
public static EntityStatus[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (EntityStatus c : EntityStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EntityStatus valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
fromString
public static EntityStatus fromString(String value)
Parses a serialized value to a EntityStatus instance.- Parameters:
value- the serialized value to parse.- Returns:
- the parsed EntityStatus object, or null if unable to parse.
-
toString
public String toString()
- Overrides:
toStringin classEnum<EntityStatus>
-
-