Enum ProtocolMetadataDefault
- java.lang.Object
-
- java.lang.Enum<ProtocolMetadataDefault>
-
- software.amazon.awssdk.codegen.internal.ProtocolMetadataDefault
-
- All Implemented Interfaces:
Serializable
,Comparable<ProtocolMetadataDefault>
public enum ProtocolMetadataDefault extends Enum<ProtocolMetadataDefault>
Enum that maps protocol to metadata attribute constants for a given operation.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DEFAULT
SMITHY_RPC_V2_CBOR
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ProtocolMetadataDefault
from(Protocol protocol)
ProtocolMetadataConstants
protocolMetadata(ShapeMarshaller shapeMarshaller)
Returns a function that maps from aShapeMarshaller
to a set of protocol metadata constants that we codegen.static ProtocolMetadataDefault
valueOf(String name)
Returns the enum constant of this type with the specified name.static ProtocolMetadataDefault[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SMITHY_RPC_V2_CBOR
public static final ProtocolMetadataDefault SMITHY_RPC_V2_CBOR
-
DEFAULT
public static final ProtocolMetadataDefault DEFAULT
-
-
Method Detail
-
values
public static ProtocolMetadataDefault[] 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 (ProtocolMetadataDefault c : ProtocolMetadataDefault.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ProtocolMetadataDefault valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
protocolMetadata
public ProtocolMetadataConstants protocolMetadata(ShapeMarshaller shapeMarshaller)
Returns a function that maps from aShapeMarshaller
to a set of protocol metadata constants that we codegen.
-
from
public static ProtocolMetadataDefault from(Protocol protocol)
-
-