public enum AwsServiceProtocol extends Enum<AwsServiceProtocol>
Enum Constant and Description |
---|
AWS_JSON |
CBOR |
EC2 |
QUERY |
REST_JSON |
REST_XML |
Modifier and Type | Method and Description |
---|---|
static AwsServiceProtocol |
fromValue(String strProtocol) |
String |
toString() |
static AwsServiceProtocol |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AwsServiceProtocol[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AwsServiceProtocol EC2
public static final AwsServiceProtocol AWS_JSON
public static final AwsServiceProtocol REST_JSON
public static final AwsServiceProtocol CBOR
public static final AwsServiceProtocol QUERY
public static final AwsServiceProtocol REST_XML
public static AwsServiceProtocol[] values()
for (AwsServiceProtocol c : AwsServiceProtocol.values()) System.out.println(c);
public static AwsServiceProtocol 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 static AwsServiceProtocol fromValue(String strProtocol)
public String toString()
toString
in class Enum<AwsServiceProtocol>
Copyright © 2023. All rights reserved.