Class CfnContainer.CorsRuleProperty.Jsii$Proxy

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

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

    CfnContainer.CorsRuleProperty.Builder, CfnContainer.CorsRuleProperty.Jsii$Proxy
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    Constructor that initializes the object based on literal property values passed by the CfnContainer.CorsRuleProperty.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 List<String>
    Specifies which headers are allowed in a preflight OPTIONS request through the Access-Control-Request-Headers header.
    final List<String>
    Identifies an HTTP method that the origin that is specified in the rule is allowed to execute.
    final List<String>
    One or more response headers that you want users to be able to access from their applications (for example, from a JavaScript XMLHttpRequest object).
    final List<String>
    One or more headers in the response that you want users to be able to access from their applications (for example, from a JavaScript XMLHttpRequest object).
    final Number
    The time in seconds that your browser caches the preflight response for the specified resource.
    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(CfnContainer.CorsRuleProperty.Builder builder)
      Constructor that initializes the object based on literal property values passed by the CfnContainer.CorsRuleProperty.Builder.
  • Method Details

    • getAllowedHeaders

      public final List<String> getAllowedHeaders()
      Description copied from interface: CfnContainer.CorsRuleProperty
      Specifies which headers are allowed in a preflight OPTIONS request through the Access-Control-Request-Headers header.

      Each header name that is specified in Access-Control-Request-Headers must have a corresponding entry in the rule. Only the headers that were requested are sent back.

      This element can contain only one wildcard character (*).

      Specified by:
      getAllowedHeaders in interface CfnContainer.CorsRuleProperty
    • getAllowedMethods

      public final List<String> getAllowedMethods()
      Description copied from interface: CfnContainer.CorsRuleProperty
      Identifies an HTTP method that the origin that is specified in the rule is allowed to execute.

      Each CORS rule must contain at least one AllowedMethods and one AllowedOrigins element.

      Specified by:
      getAllowedMethods in interface CfnContainer.CorsRuleProperty
    • getAllowedOrigins

      public final List<String> getAllowedOrigins()
      Description copied from interface: CfnContainer.CorsRuleProperty
      One or more response headers that you want users to be able to access from their applications (for example, from a JavaScript XMLHttpRequest object).

      Each CORS rule must have at least one AllowedOrigins element. The string value can include only one wildcard character (), for example, http://.example.com. Additionally, you can specify only one wildcard character to allow cross-origin access for all origins.

      Specified by:
      getAllowedOrigins in interface CfnContainer.CorsRuleProperty
    • getExposeHeaders

      public final List<String> getExposeHeaders()
      Description copied from interface: CfnContainer.CorsRuleProperty
      One or more headers in the response that you want users to be able to access from their applications (for example, from a JavaScript XMLHttpRequest object).

      This element is optional for each rule.

      Specified by:
      getExposeHeaders in interface CfnContainer.CorsRuleProperty
    • getMaxAgeSeconds

      public final Number getMaxAgeSeconds()
      Description copied from interface: CfnContainer.CorsRuleProperty
      The time in seconds that your browser caches the preflight response for the specified resource.

      A CORS rule can have only one MaxAgeSeconds element.

      Specified by:
      getMaxAgeSeconds in interface CfnContainer.CorsRuleProperty
    • $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