public static final class CfnApi.CorsProperty.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnApi.CorsProperty
CfnApi.CorsProperty
CfnApi.CorsProperty.Builder, CfnApi.CorsProperty.Jsii$Proxy
Modifier | Constructor and Description |
---|---|
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(java.lang.Object o) |
java.lang.Object |
getAllowCredentials()
Specifies whether credentials are included in the CORS request.
|
java.util.List<java.lang.String> |
getAllowHeaders()
Represents a collection of allowed headers.
|
java.util.List<java.lang.String> |
getAllowMethods()
Represents a collection of allowed HTTP methods.
|
java.util.List<java.lang.String> |
getAllowOrigins()
Represents a collection of allowed origins.
|
java.util.List<java.lang.String> |
getExposeHeaders()
Represents a collection of exposed headers.
|
java.lang.Number |
getMaxAge()
The number of seconds that the browser should cache preflight request results.
|
int |
hashCode() |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
builder
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef
- Reference to the JSII managed object.public final java.lang.Object getAllowCredentials()
CfnApi.CorsProperty
Supported only for HTTP APIs.
getAllowCredentials
in interface CfnApi.CorsProperty
public final java.util.List<java.lang.String> getAllowHeaders()
CfnApi.CorsProperty
Supported only for HTTP APIs.
getAllowHeaders
in interface CfnApi.CorsProperty
public final java.util.List<java.lang.String> getAllowMethods()
CfnApi.CorsProperty
Supported only for HTTP APIs.
getAllowMethods
in interface CfnApi.CorsProperty
public final java.util.List<java.lang.String> getAllowOrigins()
CfnApi.CorsProperty
Supported only for HTTP APIs.
getAllowOrigins
in interface CfnApi.CorsProperty
public final java.util.List<java.lang.String> getExposeHeaders()
CfnApi.CorsProperty
Supported only for HTTP APIs.
getExposeHeaders
in interface CfnApi.CorsProperty
public final java.lang.Number getMaxAge()
CfnApi.CorsProperty
Supported only for HTTP APIs.
getMaxAge
in interface CfnApi.CorsProperty
public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
public final boolean equals(java.lang.Object o)
public final int hashCode()