Interface BaseSignedRequest.Builder<B extends BaseSignedRequest.Builder<B,PayloadT>,PayloadT>

All Known Subinterfaces:
AsyncSignedRequest.Builder, SignedRequest.Builder
All Known Implementing Classes:
DefaultAsyncSignedRequest.BuilderImpl, DefaultSignedRequest.BuilderImpl
Enclosing interface:
BaseSignedRequest<PayloadT>

public static interface BaseSignedRequest.Builder<B extends BaseSignedRequest.Builder<B,PayloadT>,PayloadT>
A builder for a BaseSignedRequest.
  • Method Summary

    Modifier and Type
    Method
    Description
    payload(PayloadT payload)
    Set the body payload of the request.
    Set the HTTP request object, without the request body payload.
  • Method Details

    • request

      B request(SdkHttpRequest request)
      Set the HTTP request object, without the request body payload.
    • payload

      B payload(PayloadT payload)
      Set the body payload of the request. A payload is optional. By default, the payload will be empty.