Enum IpFilterTargetType
- java.lang.Object
-
- java.lang.Enum<IpFilterTargetType>
-
- com.azure.resourcemanager.deviceprovisioningservices.models.IpFilterTargetType
-
- All Implemented Interfaces:
Serializable
,Comparable<IpFilterTargetType>
public enum IpFilterTargetType extends Enum<IpFilterTargetType>
Defines values for IpFilterTargetType.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ALL
Enum value all.DEVICE_API
Enum value deviceApi.SERVICE_API
Enum value serviceApi.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static IpFilterTargetType
fromString(String value)
Parses a serialized value to a IpFilterTargetType instance.String
toString()
static IpFilterTargetType
valueOf(String name)
Returns the enum constant of this type with the specified name.static IpFilterTargetType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ALL
public static final IpFilterTargetType ALL
Enum value all.
-
SERVICE_API
public static final IpFilterTargetType SERVICE_API
Enum value serviceApi.
-
DEVICE_API
public static final IpFilterTargetType DEVICE_API
Enum value deviceApi.
-
-
Method Detail
-
values
public static IpFilterTargetType[] 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 (IpFilterTargetType c : IpFilterTargetType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static IpFilterTargetType 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 IpFilterTargetType fromString(String value)
Parses a serialized value to a IpFilterTargetType instance.- Parameters:
value
- the serialized value to parse.- Returns:
- the parsed IpFilterTargetType object, or null if unable to parse.
-
toString
public String toString()
- Overrides:
toString
in classEnum<IpFilterTargetType>
-
-