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
ModifierConstructorDescriptionprotected
Jsii$Proxy
(CorsRule.Builder builder) Constructor that initializes the object based on literal property values passed by theCorsRule.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 TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNode
final boolean
Headers that are specified in the Access-Control-Request-Headers header.final List<HttpMethods>
An HTTP method that you allow the origin to execute.One or more origins you want customers to be able to access the bucket from.One or more headers in the response that you want customers to be able to access from their applications.final String
getId()
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
hashCode()
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
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
Constructor that initializes the object based on literal property values passed by theCorsRule.Builder
.
-
-
Method Details
-
getAllowedMethods
Description copied from interface:CorsRule
An HTTP method that you allow the origin to execute.- Specified by:
getAllowedMethods
in interfaceCorsRule
-
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 interfaceCorsRule
-
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 interfaceCorsRule
-
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 interfaceCorsRule
-
getId
Description copied from interface:CorsRule
A unique identifier for this rule.Default: - No id specified.
-
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.
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJson
in interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-