Class CorsRule.Jsii$Proxy

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

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

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

    Constructors
    Modifier
    Constructor
    Description
    protected
    Constructor that initializes the object based on literal property values passed by the CorsRule.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>
    Headers that are specified in the Access-Control-Request-Headers header.
    An HTTP method that you allow the origin to execute.
    final List<String>
    One or more origins you want customers to be able to access the bucket from.
    final List<String>
    One or more headers in the response that you want customers to be able to access from their applications.
    final String
    A unique identifier for this rule.
    final Number
    The time in seconds that your browser is to cache 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(CorsRule.Builder builder)
      Constructor that initializes the object based on literal property values passed by the CorsRule.Builder.
  • Method Details

    • getAllowedMethods

      public final List<HttpMethods> getAllowedMethods()
      Description copied from interface: CorsRule
      An HTTP method that you allow the origin to execute.
      Specified by:
      getAllowedMethods in interface CorsRule
    • getAllowedOrigins

      public final List<String> getAllowedOrigins()
      Description copied from interface: CorsRule
      One or more origins you want customers to be able to access the bucket from.
      Specified by:
      getAllowedOrigins in interface CorsRule
    • getAllowedHeaders

      public final List<String> getAllowedHeaders()
      Description copied from interface: CorsRule
      Headers that are specified in the Access-Control-Request-Headers header.

      Default: - No headers allowed.

      Specified by:
      getAllowedHeaders in interface CorsRule
    • getExposedHeaders

      public final List<String> getExposedHeaders()
      Description copied from interface: CorsRule
      One or more headers in the response that you want customers to be able to access from their applications.

      Default: - No headers exposed.

      Specified by:
      getExposedHeaders in interface CorsRule
    • getId

      public final String getId()
      Description copied from interface: CorsRule
      A unique identifier for this rule.

      Default: - No id specified.

      Specified by:
      getId in interface CorsRule
    • getMaxAge

      public final Number getMaxAge()
      Description copied from interface: CorsRule
      The time in seconds that your browser is to cache the preflight response for the specified resource.

      Default: - No caching.

      Specified by:
      getMaxAge in interface CorsRule
    • $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