T
- Type of the original request object.public class JsonProtocolMarshallerBuilder<T extends SdkRequest> extends Object
ProtocolMarshaller
for JSON based services.Constructor and Description |
---|
JsonProtocolMarshallerBuilder() |
Modifier and Type | Method and Description |
---|---|
ProtocolRequestMarshaller<T> |
build() |
JsonProtocolMarshallerBuilder<T> |
contentType(String contentType) |
JsonProtocolMarshallerBuilder<T> |
jsonGenerator(StructuredJsonGenerator jsonGenerator) |
JsonProtocolMarshallerBuilder<T> |
operationInfo(OperationInfo operationInfo) |
JsonProtocolMarshallerBuilder<T> |
originalRequest(T originalRequest) |
JsonProtocolMarshallerBuilder<T> |
sendExplicitNullForPayload(boolean sendExplicitNullForPayload) |
static <T extends SdkRequest> |
standard() |
public static <T extends SdkRequest> JsonProtocolMarshallerBuilder<T> standard()
public JsonProtocolMarshallerBuilder<T> jsonGenerator(StructuredJsonGenerator jsonGenerator)
public JsonProtocolMarshallerBuilder<T> contentType(String contentType)
public JsonProtocolMarshallerBuilder<T> operationInfo(OperationInfo operationInfo)
public JsonProtocolMarshallerBuilder<T> sendExplicitNullForPayload(boolean sendExplicitNullForPayload)
sendExplicitNullForPayload
- True if an explicit JSON null should be sent as the body when the
payload member is null. See NullAsEmptyBodyProtocolRequestMarshaller
.public JsonProtocolMarshallerBuilder<T> originalRequest(T originalRequest)
public ProtocolRequestMarshaller<T> build()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.