@Stability(value=Stable) @Internal public static final class CfnBucket.RedirectRuleProperty.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnBucket.RedirectRuleProperty
CfnBucket.RedirectRulePropertysoftware.amazon.jsii.JsiiObject.InitializationModeCfnBucket.RedirectRuleProperty.Builder, CfnBucket.RedirectRuleProperty.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(CfnBucket.RedirectRuleProperty.Builder builder)
Constructor that initializes the object based on literal property values passed by the
CfnBucket.AbortIncompleteMultipartUploadProperty.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) |
String |
getHostName()
The host name to use in the redirect request.
|
String |
getHttpRedirectCode()
The HTTP redirect code to use on the response.
|
String |
getProtocol()
Protocol to use when redirecting requests.
|
String |
getReplaceKeyPrefixWith()
The object key prefix to use in the redirect request.
|
String |
getReplaceKeyWith()
The specific object key to use in the redirect request.
|
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(CfnBucket.RedirectRuleProperty.Builder builder)
CfnBucket.AbortIncompleteMultipartUploadProperty.Builder.public final String getHostName()
CfnBucket.RedirectRulePropertygetHostName in interface CfnBucket.RedirectRulePropertypublic final String getHttpRedirectCode()
CfnBucket.RedirectRulePropertyNot required if one of the siblings is present.
getHttpRedirectCode in interface CfnBucket.RedirectRulePropertypublic final String getProtocol()
CfnBucket.RedirectRulePropertyThe default is the protocol that is used in the original request.
getProtocol in interface CfnBucket.RedirectRulePropertypublic final String getReplaceKeyPrefixWith()
CfnBucket.RedirectRuleProperty
For example, to redirect requests for all pages with prefix docs/ (objects in the docs/ folder) to documents/ , you can set a condition block with KeyPrefixEquals set to docs/ and in the Redirect set ReplaceKeyPrefixWith to /documents . Not required if one of the siblings is present. Can be present only if ReplaceKeyWith is not provided.
Replacement must be made for object keys containing special characters (such as carriage returns) when using XML requests. For more information, see XML related object key constraints .
getReplaceKeyPrefixWith in interface CfnBucket.RedirectRulePropertypublic final String getReplaceKeyWith()
CfnBucket.RedirectRuleProperty
For example, redirect request to error.html . Not required if one of the siblings is present. Can be present only if ReplaceKeyPrefixWith is not provided.
Replacement must be made for object keys containing special characters (such as carriage returns) when using XML requests. For more information, see XML related object key constraints .
getReplaceKeyWith in interface CfnBucket.RedirectRuleProperty@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2022. All rights reserved.