Class MethodResponse.Jsii$Proxy

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.apigateway.MethodResponse.Jsii$Proxy
All Implemented Interfaces:
MethodResponse, software.amazon.jsii.JsiiSerializable
Enclosing interface:
MethodResponse

@Stability(Stable) @Internal public static final class MethodResponse.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements MethodResponse
An implementation for MethodResponse
  • Nested Class Summary

    Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject

    software.amazon.jsii.JsiiObject.InitializationMode

    Nested classes/interfaces inherited from interface software.amazon.awscdk.services.apigateway.MethodResponse

    MethodResponse.Builder, MethodResponse.Jsii$Proxy
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    Constructor that initializes the object based on literal property values passed by the MethodResponse.Builder.
    protected
    Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
    Constructor that initializes the object based on values retrieved from the JsiiObject.
  • Method Summary

    Modifier and Type
    Method
    Description
    com.fasterxml.jackson.databind.JsonNode
     
    final boolean
     
    The resources used for the response's content type.
    Response parameters that API Gateway sends to the client that called a method.
    final String
    The method response's status code, which you map to an IntegrationResponse.
    final int
     

    Methods inherited from class software.amazon.jsii.JsiiObject

    jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • Jsii$Proxy

      protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
      Constructor that initializes the object based on values retrieved from the JsiiObject.
      Parameters:
      objRef - Reference to the JSII managed object.
    • Jsii$Proxy

      protected Jsii$Proxy(MethodResponse.Builder builder)
      Constructor that initializes the object based on literal property values passed by the MethodResponse.Builder.
  • Method Details

    • getStatusCode

      public final String getStatusCode()
      Description copied from interface: MethodResponse
      The method response's status code, which you map to an IntegrationResponse.

      Required.

      Specified by:
      getStatusCode in interface MethodResponse
    • getResponseModels

      public final Map<String,IModel> getResponseModels()
      Description copied from interface: MethodResponse
      The resources used for the response's content type.

      Specify response models as key-value pairs (string-to-string maps), with a content type as the key and a Model resource name as the value.

      Default: None

      Specified by:
      getResponseModels in interface MethodResponse
    • getResponseParameters

      public final Map<String,Boolean> getResponseParameters()
      Description copied from interface: MethodResponse
      Response parameters that API Gateway sends to the client that called a method.

      Specify response parameters as key-value pairs (string-to-Boolean maps), with a destination as the key and a Boolean as the value. Specify the destination using the following pattern: method.response.header.name, where the name is a valid, unique header name. The Boolean specifies whether a parameter is required.

      Default: None

      Specified by:
      getResponseParameters in interface MethodResponse
    • $jsii$toJson

      @Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
      Specified by:
      $jsii$toJson in interface software.amazon.jsii.JsiiSerializable
    • equals

      public final boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object