public static final class CfnBucket.RoutingRuleConditionProperty.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnBucket.RoutingRuleConditionProperty
CfnBucket.RoutingRuleConditionProperty
CfnBucket.RoutingRuleConditionProperty.Builder, CfnBucket.RoutingRuleConditionProperty.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.String |
getHttpErrorCodeReturnedEquals()
The HTTP error code when the redirect is applied.
|
java.lang.String |
getKeyPrefixEquals()
The object key name prefix when the redirect is applied.
|
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.String getHttpErrorCodeReturnedEquals()
CfnBucket.RoutingRuleConditionProperty
In the event of an error, if the error code equals this value, then the specified redirect is applied.
Required when parent element Condition
is specified and sibling KeyPrefixEquals
is not specified. If both are specified, then both must be true for the redirect to be applied.
getHttpErrorCodeReturnedEquals
in interface CfnBucket.RoutingRuleConditionProperty
public final java.lang.String getKeyPrefixEquals()
CfnBucket.RoutingRuleConditionProperty
For example, to redirect requests for ExamplePage.html
, the key prefix will be ExamplePage.html
. To redirect request for all pages with the prefix docs/
, the key prefix will be /docs
, which identifies all objects in the docs/ folder.
Required when the parent element Condition
is specified and sibling HttpErrorCodeReturnedEquals
is not specified. If both conditions are specified, both must be true for the redirect to be applied.
getKeyPrefixEquals
in interface CfnBucket.RoutingRuleConditionProperty
public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
public final boolean equals(java.lang.Object o)
public final int hashCode()