public class PublishResponseCoders
extends java.lang.Object
PublishResponse
.Modifier and Type | Method and Description |
---|---|
static Coder<PublishResponse> |
defaultPublishResponse()
Returns a new SNS
PublishResponse coder which by default serializes only the SNS
messageId. |
static Coder<PublishResponse> |
fullPublishResponse()
Returns a new SNS
PublishResponse coder which serializes AwsResponseMetadata
and SdkHttpResponse , including the HTTP response headers. |
static Coder<PublishResponse> |
fullPublishResponseWithoutHeaders()
Returns a new SNS
PublishResponse coder which serializes AwsResponseMetadata
and SdkHttpResponse , but not including the HTTP response headers. |
public static Coder<PublishResponse> defaultPublishResponse()
PublishResponse
coder which by default serializes only the SNS
messageId.PublishResponse
coderpublic static Coder<PublishResponse> fullPublishResponse()
PublishResponse
coder which serializes AwsResponseMetadata
and SdkHttpResponse
, including the HTTP response headers.PublishResponse
coderpublic static Coder<PublishResponse> fullPublishResponseWithoutHeaders()
PublishResponse
coder which serializes AwsResponseMetadata
and SdkHttpResponse
, but not including the HTTP response headers.PublishResponse
coder