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 PutGatewayResponseRequest

    • Constructor Detail

      • PutGatewayResponseRequest

        public PutGatewayResponseRequest()
    • Method Detail

      • setRestApiId

        public void setRestApiId(String restApiId)

        The string identifier of the associated RestApi.

        Parameters:
        restApiId - The string identifier of the associated RestApi.
      • getRestApiId

        public String getRestApiId()

        The string identifier of the associated RestApi.

        Returns:
        The string identifier of the associated RestApi.
      • withRestApiId

        public PutGatewayResponseRequest withRestApiId(String restApiId)

        The string identifier of the associated RestApi.

        Parameters:
        restApiId - The string identifier of the associated RestApi.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • 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 PutGatewayResponseRequest 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 PutGatewayResponseRequest 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 of the GatewayResponse.

        Parameters:
        statusCode - The HTTP status code of the GatewayResponse.
      • getStatusCode

        public String getStatusCode()

        The HTTP status code of the GatewayResponse.

        Returns:
        The HTTP status code of the GatewayResponse.
      • withStatusCode

        public PutGatewayResponseRequest withStatusCode(String statusCode)

        The HTTP status code of the GatewayResponse.

        Parameters:
        statusCode - The HTTP status code of the 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 PutGatewayResponseRequest 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 PutGatewayResponseRequest 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 PutGatewayResponseRequest 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 PutGatewayResponseRequest clearResponseTemplatesEntries()
        Removes all the entries added into ResponseTemplates.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • 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 によって変換されたページ (->オリジナル) /