JavaScript is disabled on your browser.
Skip navigation links

AWS SDK for Java 1.x API Reference - 1.12.793

We announced the upcoming end-of-support for AWS SDK for Java (v1). We recommend that you migrate to AWS SDK for Java v2. For dates, additional details, and information on how to migrate, please refer to the linked announcement.
com.amazonaws.services.apigateway.model

Class PutGatewayResponseResult

    • Constructor Detail

      • PutGatewayResponseResult

        public PutGatewayResponseResult()
    • Method Detail

      • setResponseType

        public void setResponseType(String responseType)

        The response type of the associated GatewayResponse.

        Parameters:
        responseType - The response type of the associated GatewayResponse.
        See Also:
        GatewayResponseType
      • getResponseType

        public String getResponseType()

        The response type of the associated GatewayResponse.

        Returns:
        The response type of the associated GatewayResponse.
        See Also:
        GatewayResponseType
      • withResponseType

        public PutGatewayResponseResult withResponseType(String responseType)

        The response type of the associated GatewayResponse.

        Parameters:
        responseType - The response type of the associated GatewayResponse.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        GatewayResponseType
      • setResponseType

        public void setResponseType(GatewayResponseType responseType)

        The response type of the associated GatewayResponse.

        Parameters:
        responseType - The response type of the associated GatewayResponse.
        See Also:
        GatewayResponseType
      • withResponseType

        public PutGatewayResponseResult withResponseType(GatewayResponseType responseType)

        The response type of the associated GatewayResponse.

        Parameters:
        responseType - The response type of the associated GatewayResponse.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        GatewayResponseType
      • setStatusCode

        public void setStatusCode(String statusCode)

        The HTTP status code for this GatewayResponse.

        Parameters:
        statusCode - The HTTP status code for this GatewayResponse.
      • getStatusCode

        public String getStatusCode()

        The HTTP status code for this GatewayResponse.

        Returns:
        The HTTP status code for this GatewayResponse.
      • withStatusCode

        public PutGatewayResponseResult withStatusCode(String statusCode)

        The HTTP status code for this GatewayResponse.

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

        public Map<String,String> getResponseParameters()

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

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

        public void setResponseParameters(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.
      • withResponseParameters

        public PutGatewayResponseResult withResponseParameters(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.
      • clearResponseParametersEntries

        public PutGatewayResponseResult clearResponseParametersEntries()
        Removes all the entries added into ResponseParameters.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • getResponseTemplates

        public Map<String,String> getResponseTemplates()

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

        Returns:
        Response templates of the GatewayResponse as a string-to-string map of key-value pairs.
      • setResponseTemplates

        public void setResponseTemplates(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.
      • withResponseTemplates

        public PutGatewayResponseResult withResponseTemplates(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.
      • clearResponseTemplatesEntries

        public PutGatewayResponseResult clearResponseTemplatesEntries()
        Removes all the entries added into ResponseTemplates.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setDefaultResponse

        public void setDefaultResponse(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.
      • getDefaultResponse

        public Boolean getDefaultResponse()

        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:
        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.
      • withDefaultResponse

        public PutGatewayResponseResult withDefaultResponse(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.
      • isDefaultResponse

        public Boolean isDefaultResponse()

        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:
        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.
      • toString

        public String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
Skip navigation links

AltStyle によって変換されたページ (->オリジナル) /