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.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.s3.CorsRule
CorsRule.Builder, CorsRule.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedJsii$Proxy(CorsRule.Builder builder) Constructor that initializes the object based on literal property values passed by theCorsRule.Builder.protectedJsii$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.JsonNodefinal booleanHeaders 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 StringgetId()A unique identifier for this rule.final NumberThe time in seconds that your browser is to cache the preflight response for the specified resource.final inthashCode()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:CorsRuleAn HTTP method that you allow the origin to execute.- Specified by:
getAllowedMethodsin interfaceCorsRule
-
getAllowedOrigins
Description copied from interface:CorsRuleOne or more origins you want customers to be able to access the bucket from.- Specified by:
getAllowedOriginsin interfaceCorsRule
-
getAllowedHeaders
Description copied from interface:CorsRuleHeaders that are specified in the Access-Control-Request-Headers header.Default: - No headers allowed.
- Specified by:
getAllowedHeadersin interfaceCorsRule
-
getExposedHeaders
Description copied from interface:CorsRuleOne or more headers in the response that you want customers to be able to access from their applications.Default: - No headers exposed.
- Specified by:
getExposedHeadersin interfaceCorsRule
-
getId
Description copied from interface:CorsRuleA unique identifier for this rule.Default: - No id specified.
-
getMaxAge
Description copied from interface:CorsRuleThe 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$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-