public static final class CfnBucket.CorsRuleProperty.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnBucket.CorsRuleProperty
CfnBucket.CorsRuleProperty
CfnBucket.CorsRuleProperty.Builder, CfnBucket.CorsRuleProperty.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<java.lang.String> |
getAllowedMethods()
An HTTP method that you allow the origin to run.
|
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 (for example, from a JavaScript `XMLHttpRequest` object).
|
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() |
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.util.List<java.lang.String> getAllowedMethods()
CfnBucket.CorsRuleProperty
Allowed values : GET
| PUT
| HEAD
| POST
| DELETE
getAllowedMethods
in interface CfnBucket.CorsRuleProperty
public final java.util.List<java.lang.String> getAllowedOrigins()
CfnBucket.CorsRuleProperty
getAllowedOrigins
in interface CfnBucket.CorsRuleProperty
public final java.util.List<java.lang.String> getAllowedHeaders()
CfnBucket.CorsRuleProperty
These headers are allowed in a preflight OPTIONS request. In response to any preflight OPTIONS request, Amazon S3 returns any requested headers that are allowed.
getAllowedHeaders
in interface CfnBucket.CorsRuleProperty
public final java.util.List<java.lang.String> getExposedHeaders()
CfnBucket.CorsRuleProperty
getExposedHeaders
in interface CfnBucket.CorsRuleProperty
public final java.lang.String getId()
CfnBucket.CorsRuleProperty
The value must be no more than 255 characters.
getId
in interface CfnBucket.CorsRuleProperty
public final java.lang.Number getMaxAge()
CfnBucket.CorsRuleProperty
getMaxAge
in interface CfnBucket.CorsRuleProperty
public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
public final boolean equals(java.lang.Object o)
public final int hashCode()