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