public enum AwsJsonProtocol extends Enum<AwsJsonProtocol>
| Enum Constant and Description | 
|---|
AWS_JSON
RPC protocol that sends all data in the payload as JSON and sends the X-Amz-Target header to indicate the
 operation to invoke. 
 | 
REST_JSON
Protocol that supports RESTful bindings. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static AwsJsonProtocol | 
valueOf(String name)
Returns the enum constant of this type with the specified name. 
 | 
static AwsJsonProtocol[] | 
values()
Returns an array containing the constants of this enum type, in
the order they are declared. 
 | 
public static final AwsJsonProtocol AWS_JSON
public static final AwsJsonProtocol REST_JSON
public static AwsJsonProtocol[] values()
for (AwsJsonProtocol c : AwsJsonProtocol.values()) System.out.println(c);
public static AwsJsonProtocol 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 nullCopyright © 2023. All rights reserved.