CorsRule.Builder, CorsRule.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.util.List<java.lang.String> |
getAllowedHeaders()
Headers that are specified in the Access-Control-Request-Headers header.
|
java.util.List<HttpMethods> |
getAllowedMethods()
An HTTP method that you allow the origin to execute.
|
java.util.List<java.lang.String> |
getAllowedOrigins()
One or more origins you want customers to be able to access the bucket from.
|
java.util.List<java.lang.String> |
getExposedHeaders()
One or more headers in the response that you want customers to be able to access from their applications.
|
java.lang.String |
getId()
A unique identifier for this rule.
|
java.lang.Number |
getMaxAge()
The time in seconds that your browser is to cache the preflight response for the specified resource.
|
int |
hashCode() |
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef
- Reference to the JSII managed object.public final java.util.List<HttpMethods> getAllowedMethods()
CorsRule
getAllowedMethods
in interface CorsRule
public final java.util.List<java.lang.String> getAllowedOrigins()
CorsRule
getAllowedOrigins
in interface CorsRule
public final java.util.List<java.lang.String> getAllowedHeaders()
CorsRule
Default: - No headers allowed.
getAllowedHeaders
in interface CorsRule
public final java.util.List<java.lang.String> getExposedHeaders()
CorsRule
Default: - No headers exposed.
getExposedHeaders
in interface CorsRule
public final java.lang.String getId()
CorsRule
Default: - No id specified.
public final java.lang.Number getMaxAge()
CorsRule
Default: - No caching.
public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
public final boolean equals(java.lang.Object o)
public final int hashCode()