Class FixedResponseOptions.Jsii$Proxy

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

@Stability(Stable) @Internal public static final class FixedResponseOptions.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements FixedResponseOptions
An implementation for FixedResponseOptions
  • 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(FixedResponseOptions.Builder builder)
      Constructor that initializes the object based on literal property values passed by the FixedResponseOptions.Builder.
  • Method Details

    • getContentType

      public final String getContentType()
      Description copied from interface: FixedResponseOptions
      Content Type of the response.

      Valid Values: text/plain | text/css | text/html | application/javascript | application/json

      Default: - Automatically determined

      Specified by:
      getContentType in interface FixedResponseOptions
    • getMessageBody

      public final String getMessageBody()
      Description copied from interface: FixedResponseOptions
      The response body.

      Default: - No body

      Specified by:
      getMessageBody in interface FixedResponseOptions
    • $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