Interface BmcRequest.Builder<T extends BmcRequest<B>,​B>

    • Method Detail

      • body$

        default BmcRequest.Builder<T,​B> body$​(B body)
        Alternative setter for the body parameter, if this request supports a body.

        If this request does not support a body, an IllegalStateException is thrown.

        Parameters:
        body - the body parameter
        Returns:
        this builder instance
        Throws:
        IllegalStateException - if this request does not support a body
      • copy

        BmcRequest.Builder<T,​B> copy​(T o)
        Copy method to populate the builder with values from the given instance.
        Parameters:
        o - other request from which to copy values
        Returns:
        this builder instance
      • build

        T build()
        Build the request.
        Returns:
        request