@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public enum PassthroughBehavior extends Enum<PassthroughBehavior>
Represents passthrough behavior for an integration response. Supported only for WebSocket APIs.
| Enum Constant and Description |
|---|
NEVER |
WHEN_NO_MATCH |
WHEN_NO_TEMPLATES |
| Modifier and Type | Method and Description |
|---|---|
static PassthroughBehavior |
fromValue(String value)
Use this in place of valueOf.
|
String |
toString() |
static PassthroughBehavior |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PassthroughBehavior[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PassthroughBehavior WHEN_NO_MATCH
public static final PassthroughBehavior NEVER
public static final PassthroughBehavior WHEN_NO_TEMPLATES
public static PassthroughBehavior[] values()
for (PassthroughBehavior c : PassthroughBehavior.values()) System.out.println(c);
public static PassthroughBehavior 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<PassthroughBehavior>public static PassthroughBehavior fromValue(String value)
value - real valueIllegalArgumentException - If the specified value does not map to one of the known values in this enum.