Interface GetGatewayResponseResponse.Builder

    • Method Detail

      • statusCode

        GetGatewayResponseResponse.Builder statusCode​(String statusCodeValue)

        The HTTP status code for this GatewayResponse.

        Parameters:
        statusCodeValue - The HTTP status code for this GatewayResponse.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • responseParameters

        GetGatewayResponseResponse.Builder responseParameters​(Map<String,​String> responseParameters)

        Response parameters (paths, query strings and headers) of the GatewayResponse as a string-to-string map of key-value pairs.

        Parameters:
        responseParameters - Response parameters (paths, query strings and headers) of the GatewayResponse as a string-to-string map of key-value pairs.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • responseTemplates

        GetGatewayResponseResponse.Builder responseTemplates​(Map<String,​String> responseTemplates)

        Response templates of the GatewayResponse as a string-to-string map of key-value pairs.

        Parameters:
        responseTemplates - Response templates of the GatewayResponse as a string-to-string map of key-value pairs.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • defaultResponse

        GetGatewayResponseResponse.Builder defaultResponse​(Boolean defaultResponse)

        A Boolean flag to indicate whether this GatewayResponse is the default gateway response (true) or not (false). A default gateway response is one generated by API Gateway without any customization by an API developer.

        Parameters:
        defaultResponse - A Boolean flag to indicate whether this GatewayResponse is the default gateway response ( true) or not (false). A default gateway response is one generated by API Gateway without any customization by an API developer.
        Returns:
        Returns a reference to this object so that method calls can be chained together.