public final class AwsCoders
extends java.lang.Object
Coder
s for common AWS SDK objects.Modifier and Type | Method and Description |
---|---|
static Coder<AwsResponseMetadata> |
awsResponseMetadata()
Returns a new coder for
AwsResponseMetadata (AWS request ID only). |
static Coder<software.amazon.awssdk.http.SdkHttpResponse> |
sdkHttpResponse()
Returns a new coder for
SdkHttpResponse (HTTP status code and headers). |
static Coder<software.amazon.awssdk.http.SdkHttpResponse> |
sdkHttpResponseWithoutHeaders()
Returns a new coder for
SdkHttpResponse (HTTP status code only). |
public static Coder<AwsResponseMetadata> awsResponseMetadata()
AwsResponseMetadata
(AWS request ID only).AwsResponseMetadata
coderpublic static Coder<software.amazon.awssdk.http.SdkHttpResponse> sdkHttpResponse()
SdkHttpResponse
(HTTP status code and headers).public static Coder<software.amazon.awssdk.http.SdkHttpResponse> sdkHttpResponseWithoutHeaders()
SdkHttpResponse
(HTTP status code only).