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 TestInvokeMethodResult

    • Constructor Detail

      • TestInvokeMethodResult

        public TestInvokeMethodResult()
    • Method Detail

      • setStatus

        public void setStatus(Integer status)

        The HTTP status code.

        Parameters:
        status - The HTTP status code.
      • getStatus

        public Integer getStatus()

        The HTTP status code.

        Returns:
        The HTTP status code.
      • withStatus

        public TestInvokeMethodResult withStatus(Integer status)

        The HTTP status code.

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

        public void setBody(String body)

        The body of the HTTP response.

        Parameters:
        body - The body of the HTTP response.
      • getBody

        public String getBody()

        The body of the HTTP response.

        Returns:
        The body of the HTTP response.
      • withBody

        public TestInvokeMethodResult withBody(String body)

        The body of the HTTP response.

        Parameters:
        body - The body of the HTTP response.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • getHeaders

        public Map<String,String> getHeaders()

        The headers of the HTTP response.

        Returns:
        The headers of the HTTP response.
      • setHeaders

        public void setHeaders(Map<String,String> headers)

        The headers of the HTTP response.

        Parameters:
        headers - The headers of the HTTP response.
      • withHeaders

        public TestInvokeMethodResult withHeaders(Map<String,String> headers)

        The headers of the HTTP response.

        Parameters:
        headers - The headers of the HTTP response.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • clearHeadersEntries

        public TestInvokeMethodResult clearHeadersEntries()
        Removes all the entries added into Headers.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • getMultiValueHeaders

        public Map<String,List<String>> getMultiValueHeaders()

        The headers of the HTTP response as a map from string to list of values.

        Returns:
        The headers of the HTTP response as a map from string to list of values.
      • setMultiValueHeaders

        public void setMultiValueHeaders(Map<String,List<String>> multiValueHeaders)

        The headers of the HTTP response as a map from string to list of values.

        Parameters:
        multiValueHeaders - The headers of the HTTP response as a map from string to list of values.
      • withMultiValueHeaders

        public TestInvokeMethodResult withMultiValueHeaders(Map<String,List<String>> multiValueHeaders)

        The headers of the HTTP response as a map from string to list of values.

        Parameters:
        multiValueHeaders - The headers of the HTTP response as a map from string to list of values.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • clearMultiValueHeadersEntries

        public TestInvokeMethodResult clearMultiValueHeadersEntries()
        Removes all the entries added into MultiValueHeaders.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setLog

        public void setLog(String log)

        The API Gateway execution log for the test invoke request.

        Parameters:
        log - The API Gateway execution log for the test invoke request.
      • getLog

        public String getLog()

        The API Gateway execution log for the test invoke request.

        Returns:
        The API Gateway execution log for the test invoke request.
      • withLog

        public TestInvokeMethodResult withLog(String log)

        The API Gateway execution log for the test invoke request.

        Parameters:
        log - The API Gateway execution log for the test invoke request.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setLatency

        public void setLatency(Long latency)

        The execution latency, in ms, of the test invoke request.

        Parameters:
        latency - The execution latency, in ms, of the test invoke request.
      • getLatency

        public Long getLatency()

        The execution latency, in ms, of the test invoke request.

        Returns:
        The execution latency, in ms, of the test invoke request.
      • withLatency

        public TestInvokeMethodResult withLatency(Long latency)

        The execution latency, in ms, of the test invoke request.

        Parameters:
        latency - The execution latency, in ms, of the test invoke request.
        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 によって変換されたページ (->オリジナル) /