@Stability(value=Stable) @Internal public static final class CfnApi.CorsProperty.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnApi.CorsProperty
CfnApi.CorsPropertysoftware.amazon.jsii.JsiiObject.InitializationModeCfnApi.CorsProperty.Builder, CfnApi.CorsProperty.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(CfnApi.CorsProperty.Builder builder)
Constructor that initializes the object based on literal property values passed by the
CfnApi.BodyS3LocationProperty.Builder. |
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
Object |
getAllowCredentials()
Specifies whether credentials are included in the CORS request.
|
List<String> |
getAllowHeaders()
Represents a collection of allowed headers.
|
List<String> |
getAllowMethods()
Represents a collection of allowed HTTP methods.
|
List<String> |
getAllowOrigins()
Represents a collection of allowed origins.
|
List<String> |
getExposeHeaders()
Represents a collection of exposed headers.
|
Number |
getMaxAge()
The number of seconds that the browser should cache preflight request results.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(CfnApi.CorsProperty.Builder builder)
CfnApi.BodyS3LocationProperty.Builder.public final Object getAllowCredentials()
CfnApi.CorsPropertySupported only for HTTP APIs.
getAllowCredentials in interface CfnApi.CorsPropertypublic final List<String> getAllowHeaders()
CfnApi.CorsPropertySupported only for HTTP APIs.
getAllowHeaders in interface CfnApi.CorsPropertypublic final List<String> getAllowMethods()
CfnApi.CorsPropertySupported only for HTTP APIs.
getAllowMethods in interface CfnApi.CorsPropertypublic final List<String> getAllowOrigins()
CfnApi.CorsPropertySupported only for HTTP APIs.
getAllowOrigins in interface CfnApi.CorsPropertypublic final List<String> getExposeHeaders()
CfnApi.CorsPropertySupported only for HTTP APIs.
getExposeHeaders in interface CfnApi.CorsPropertypublic final Number getMaxAge()
CfnApi.CorsPropertySupported only for HTTP APIs.
getMaxAge in interface CfnApi.CorsProperty@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2022. All rights reserved.