Package software.amazon.smithy.linters
Enum CamelCaseValidator.MemberNameHandling
- java.lang.Object
- 
- java.lang.Enum<CamelCaseValidator.MemberNameHandling>
- 
- software.amazon.smithy.linters.CamelCaseValidator.MemberNameHandling
 
 
- 
- All Implemented Interfaces:
- java.io.Serializable,- java.lang.Comparable<CamelCaseValidator.MemberNameHandling>
 - Enclosing class:
- CamelCaseValidator
 
 public static enum CamelCaseValidator.MemberNameHandling extends java.lang.Enum<CamelCaseValidator.MemberNameHandling> 
- 
- 
Enum Constant SummaryEnum Constants Enum Constant Description AUTOMember names are serialized using either all lower camel or all upper camel, but not a mixture.LOWERMember names are serialized using lower camel case (e.g., fooBar).UPPERMember names are serialized using upper camel case (e.g., FooBar).
 - 
Method SummaryAll Methods Static Methods Concrete Methods Modifier and Type Method Description static CamelCaseValidator.MemberNameHandlingvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static CamelCaseValidator.MemberNameHandling[]values()Returns an array containing the constants of this enum type, in the order they are declared.
 
- 
- 
- 
Enum Constant Detail- 
UPPERpublic static final CamelCaseValidator.MemberNameHandling UPPER Member names are serialized using upper camel case (e.g., FooBar).
 - 
LOWERpublic static final CamelCaseValidator.MemberNameHandling LOWER Member names are serialized using lower camel case (e.g., fooBar).
 - 
AUTOpublic static final CamelCaseValidator.MemberNameHandling AUTO Member names are serialized using either all lower camel or all upper camel, but not a mixture.
 
- 
 - 
Method Detail- 
valuespublic static CamelCaseValidator.MemberNameHandling[] 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 (CamelCaseValidator.MemberNameHandling c : CamelCaseValidator.MemberNameHandling.values()) System.out.println(c); - Returns:
- an array containing the constants of this enum type, in the order they are declared
 
 - 
valueOfpublic static CamelCaseValidator.MemberNameHandling 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
 
 
- 
 
-