Class CfnModelProps.Jsii$Proxy

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

@Stability(Stable) @Internal public static final class CfnModelProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnModelProps
An implementation for CfnModelProps
  • 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.CfnModelProps

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

    Constructors
    Modifier
    Constructor
    Description
    protected
    Constructor that initializes the object based on literal property values passed by the CfnModelProps.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
     
    final String
    The content-type for the model.
    final String
    The description of the model.
    final String
    A name for the model.
    final String
    The string identifier of the associated RestApi.
    final Object
    The schema for the model.
    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(CfnModelProps.Builder builder)
      Constructor that initializes the object based on literal property values passed by the CfnModelProps.Builder.
  • Method Details

    • getRestApiId

      public final String getRestApiId()
      Description copied from interface: CfnModelProps
      The string identifier of the associated RestApi.
      Specified by:
      getRestApiId in interface CfnModelProps
    • getContentType

      public final String getContentType()
      Description copied from interface: CfnModelProps
      The content-type for the model.
      Specified by:
      getContentType in interface CfnModelProps
    • getDescription

      public final String getDescription()
      Description copied from interface: CfnModelProps
      The description of the model.
      Specified by:
      getDescription in interface CfnModelProps
    • getName

      public final String getName()
      Description copied from interface: CfnModelProps
      A name for the model.

      If you don't specify a name, AWS CloudFormation generates a unique physical ID and uses that ID for the model name. For more information, see Name Type .

      If you specify a name, you cannot perform updates that require replacement of this resource. You can perform updates that require no or some interruption. If you must replace the resource, specify a new name.

      Specified by:
      getName in interface CfnModelProps
    • getSchema

      public final Object getSchema()
      Description copied from interface: CfnModelProps
      The schema for the model.

      For application/json models, this should be JSON schema draft 4 model. Do not include "* /" characters in the description of any properties because such "* /" characters may be interpreted as the closing marker for comments in some languages, such as Java or JavaScript, causing the installation of your API's SDK generated by API Gateway to fail.

      Specified by:
      getSchema in interface CfnModelProps
    • $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