@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public enum DocumentationPartType extends Enum<DocumentationPartType>
Enum Constant and Description |
---|
API |
AUTHORIZER |
METHOD |
MODEL |
PATH_PARAMETER |
QUERY_PARAMETER |
REQUEST_BODY |
REQUEST_HEADER |
RESOURCE |
RESPONSE |
RESPONSE_BODY |
RESPONSE_HEADER |
Modifier and Type | Method and Description |
---|---|
static DocumentationPartType |
fromValue(String value)
Use this in place of valueOf.
|
String |
toString() |
static DocumentationPartType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DocumentationPartType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DocumentationPartType API
public static final DocumentationPartType AUTHORIZER
public static final DocumentationPartType MODEL
public static final DocumentationPartType RESOURCE
public static final DocumentationPartType METHOD
public static final DocumentationPartType PATH_PARAMETER
public static final DocumentationPartType QUERY_PARAMETER
public static final DocumentationPartType REQUEST_HEADER
public static final DocumentationPartType REQUEST_BODY
public static final DocumentationPartType RESPONSE
public static final DocumentationPartType RESPONSE_HEADER
public static final DocumentationPartType RESPONSE_BODY
public static DocumentationPartType[] values()
for (DocumentationPartType c : DocumentationPartType.values()) System.out.println(c);
public static DocumentationPartType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String toString()
toString
in class Enum<DocumentationPartType>
public static DocumentationPartType fromValue(String value)
value
- real valueIllegalArgumentException
- If the specified value does not map to one of the known values in this enum.