Class CfnDocumentationPart.LocationProperty.Jsii$Proxy

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

@Stability(Stable) @Internal public static final class CfnDocumentationPart.LocationProperty.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnDocumentationPart.LocationProperty
  • Constructor Details

  • Method Details

    • getMethod

      public final String getMethod()
      Description copied from interface: CfnDocumentationPart.LocationProperty
      The HTTP verb of a method.

      It is a valid field for the API entity types of METHOD , PATH_PARAMETER , QUERY_PARAMETER , REQUEST_HEADER , REQUEST_BODY , RESPONSE , RESPONSE_HEADER , and RESPONSE_BODY . The default value is * for any method. When an applicable child entity inherits the content of an entity of the same type with more general specifications of the other location attributes, the child entity's method attribute must match that of the parent entity exactly.

      Specified by:
      getMethod in interface CfnDocumentationPart.LocationProperty
    • getName

      public final String getName()
      Description copied from interface: CfnDocumentationPart.LocationProperty
      The name of the targeted API entity.

      It is a valid and required field for the API entity types of AUTHORIZER , MODEL , PATH_PARAMETER , QUERY_PARAMETER , REQUEST_HEADER , REQUEST_BODY and RESPONSE_HEADER . It is an invalid field for any other entity type.

      Specified by:
      getName in interface CfnDocumentationPart.LocationProperty
    • getPath

      public final String getPath()
      Description copied from interface: CfnDocumentationPart.LocationProperty
      The URL path of the target.

      It is a valid field for the API entity types of RESOURCE , METHOD , PATH_PARAMETER , QUERY_PARAMETER , REQUEST_HEADER , REQUEST_BODY , RESPONSE , RESPONSE_HEADER , and RESPONSE_BODY . The default value is / for the root resource. When an applicable child entity inherits the content of another entity of the same type with more general specifications of the other location attributes, the child entity's path attribute must match that of the parent entity as a prefix.

      Specified by:
      getPath in interface CfnDocumentationPart.LocationProperty
    • getStatusCode

      public final String getStatusCode()
      Description copied from interface: CfnDocumentationPart.LocationProperty
      The HTTP status code of a response.

      It is a valid field for the API entity types of RESPONSE , RESPONSE_HEADER , and RESPONSE_BODY . The default value is * for any status code. When an applicable child entity inherits the content of an entity of the same type with more general specifications of the other location attributes, the child entity's statusCode attribute must match that of the parent entity exactly.

      Specified by:
      getStatusCode in interface CfnDocumentationPart.LocationProperty
    • getType

      public final String getType()
      Description copied from interface: CfnDocumentationPart.LocationProperty
      The type of API entity to which the documentation content applies.

      Valid values are API , AUTHORIZER , MODEL , RESOURCE , METHOD , PATH_PARAMETER , QUERY_PARAMETER , REQUEST_HEADER , REQUEST_BODY , RESPONSE , RESPONSE_HEADER , and RESPONSE_BODY . Content inheritance does not apply to any entity of the API , AUTHORIZER , METHOD , MODEL , REQUEST_BODY , or RESOURCE type.

      Specified by:
      getType in interface CfnDocumentationPart.LocationProperty
    • $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