InputT
- Input POJO type.OutputT
- Output POJO type.@NotThreadSafe public final class ClientExecutionParams<InputT extends SdkRequest,OutputT> extends Object
Constructor and Description |
---|
ClientExecutionParams() |
Modifier and Type | Method and Description |
---|---|
AsyncRequestBody |
getAsyncRequestBody() |
HttpResponseHandler<? extends SdkException> |
getErrorResponseHandler() |
InputT |
getInput() |
Marshaller<Request<InputT>,InputT> |
getMarshaller() |
HttpResponseHandler<OutputT> |
getResponseHandler() |
ClientExecutionParams<InputT,OutputT> |
withAsyncRequestBody(AsyncRequestBody asyncRequestBody) |
ClientExecutionParams<InputT,OutputT> |
withErrorResponseHandler(HttpResponseHandler<? extends SdkException> errorResponseHandler) |
ClientExecutionParams<InputT,OutputT> |
withInput(InputT input) |
ClientExecutionParams<InputT,OutputT> |
withMarshaller(Marshaller<Request<InputT>,InputT> marshaller) |
ClientExecutionParams<InputT,OutputT> |
withResponseHandler(HttpResponseHandler<OutputT> responseHandler) |
public Marshaller<Request<InputT>,InputT> getMarshaller()
public ClientExecutionParams<InputT,OutputT> withMarshaller(Marshaller<Request<InputT>,InputT> marshaller)
public InputT getInput()
public ClientExecutionParams<InputT,OutputT> withInput(InputT input)
public HttpResponseHandler<OutputT> getResponseHandler()
public ClientExecutionParams<InputT,OutputT> withResponseHandler(HttpResponseHandler<OutputT> responseHandler)
public HttpResponseHandler<? extends SdkException> getErrorResponseHandler()
public ClientExecutionParams<InputT,OutputT> withErrorResponseHandler(HttpResponseHandler<? extends SdkException> errorResponseHandler)
public AsyncRequestBody getAsyncRequestBody()
public ClientExecutionParams<InputT,OutputT> withAsyncRequestBody(AsyncRequestBody asyncRequestBody)
Copyright © 2018. All rights reserved.