Enum SmithyPattern.Segment.Type
- java.lang.Object
- 
- java.lang.Enum<SmithyPattern.Segment.Type>
- 
- software.amazon.smithy.model.pattern.SmithyPattern.Segment.Type
 
 
- 
- All Implemented Interfaces:
- java.io.Serializable,- java.lang.Comparable<SmithyPattern.Segment.Type>
 - Enclosing class:
- SmithyPattern.Segment
 
 public static enum SmithyPattern.Segment.Type extends java.lang.Enum<SmithyPattern.Segment.Type> 
- 
- 
Enum Constant SummaryEnum Constants Enum Constant Description GREEDY_LABELLABELLITERAL
 - 
Method SummaryAll Methods Static Methods Concrete Methods Modifier and Type Method Description static SmithyPattern.Segment.TypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static SmithyPattern.Segment.Type[]values()Returns an array containing the constants of this enum type, in the order they are declared.
 
- 
- 
- 
Enum Constant Detail- 
LITERALpublic static final SmithyPattern.Segment.Type LITERAL 
 - 
LABELpublic static final SmithyPattern.Segment.Type LABEL 
 - 
GREEDY_LABELpublic static final SmithyPattern.Segment.Type GREEDY_LABEL 
 
- 
 - 
Method Detail- 
valuespublic static SmithyPattern.Segment.Type[] 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 (SmithyPattern.Segment.Type c : SmithyPattern.Segment.Type.values()) System.out.println(c); - Returns:
- an array containing the constants of this enum type, in the order they are declared
 
 - 
valueOfpublic static SmithyPattern.Segment.Type valueOf(java.lang.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:
- java.lang.IllegalArgumentException- if this enum type has no constant with the specified name
- java.lang.NullPointerException- if the argument is null
 
 
- 
 
-