T
- Type of the original request object.public class RpcV2CborProtocolMarshallerBuilder<T> extends Object
ProtocolMarshaller
for RPCV2CBOR based services.Constructor and Description |
---|
RpcV2CborProtocolMarshallerBuilder() |
public static <T> RpcV2CborProtocolMarshallerBuilder<T> standard()
public RpcV2CborProtocolMarshallerBuilder<T> rpcv2cborGenerator(StructuredRpcV2CborGenerator rpcv2cborGenerator)
public RpcV2CborProtocolMarshallerBuilder<T> contentType(String contentType)
public RpcV2CborProtocolMarshallerBuilder<T> operationInfo(OperationInfo operationInfo)
public RpcV2CborProtocolMarshallerBuilder<T> originalRequest(T originalRequest)
@Deprecated public RpcV2CborProtocolMarshallerBuilder<T> sendExplicitNullForPayload(boolean sendExplicitNullForPayload)
public RpcV2CborProtocolMarshallerBuilder<T> emptyBodyMarshaller(EmptyBodyRpcV2CborMarshaller emptyBodyMarshaller)
emptyBodyMarshaller
- An empty body marshallerpublic RpcV2CborProtocolMarshallerBuilder<T> withAwsQueryCompatible(boolean hasAwsQueryCompatible)
hasAwsQueryCompatible
- The query compatability modepublic <MarshallT> RpcV2CborProtocolMarshallerBuilder<T> marshallerOverride(MarshallLocation marshallLocation, MarshallingType<MarshallT> marshallingType, StructuredRpcV2CborMarshaller<MarshallT> marshaller)
MarshallT
- Type of thing being marshalled.marshallLocation
- Location to override marshaller for.marshallingType
- Type to override marshaller for.marshaller
- Marshaller to use for the given location and type.public ProtocolRequestMarshaller<T> build()