Class CfnBucket.RedirectRuleProperty.Jsii$Proxy
- All Implemented Interfaces:
CfnBucket.RedirectRuleProperty
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CfnBucket.RedirectRuleProperty
CfnBucket.RedirectRuleProperty
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.s3.CfnBucket.RedirectRuleProperty
CfnBucket.RedirectRuleProperty.Builder, CfnBucket.RedirectRuleProperty.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
Constructor that initializes the object based on literal property values passed by theCfnBucket.RedirectRuleProperty.Builder
.protected
Jsii$Proxy
(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNode
final boolean
final String
The host name to use in the redirect request.final String
The HTTP redirect code to use on the response.final String
Protocol to use when redirecting requests.final String
The object key prefix to use in the redirect request.final String
The specific object key to use in the redirect request.final int
hashCode()
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef
- Reference to the JSII managed object.
-
Jsii$Proxy
Constructor that initializes the object based on literal property values passed by theCfnBucket.RedirectRuleProperty.Builder
.
-
-
Method Details
-
getHostName
Description copied from interface:CfnBucket.RedirectRuleProperty
The host name to use in the redirect request.- Specified by:
getHostName
in interfaceCfnBucket.RedirectRuleProperty
- See Also:
-
getHttpRedirectCode
Description copied from interface:CfnBucket.RedirectRuleProperty
The HTTP redirect code to use on the response.Not required if one of the siblings is present.
- Specified by:
getHttpRedirectCode
in interfaceCfnBucket.RedirectRuleProperty
- See Also:
-
getProtocol
Description copied from interface:CfnBucket.RedirectRuleProperty
Protocol to use when redirecting requests.The default is the protocol that is used in the original request.
- Specified by:
getProtocol
in interfaceCfnBucket.RedirectRuleProperty
- See Also:
-
getReplaceKeyPrefixWith
Description copied from interface:CfnBucket.RedirectRuleProperty
The object key prefix to use in the redirect request.For example, to redirect requests for all pages with prefix
docs/
(objects in thedocs/
folder) todocuments/
, you can set a condition block withKeyPrefixEquals
set todocs/
and in the Redirect setReplaceKeyPrefixWith
to/documents
. Not required if one of the siblings is present. Can be present only ifReplaceKeyWith
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 .
- Specified by:
getReplaceKeyPrefixWith
in interfaceCfnBucket.RedirectRuleProperty
- See Also:
-
getReplaceKeyWith
Description copied from interface:CfnBucket.RedirectRuleProperty
The specific object key to use in the redirect request.For example, redirect request to
error.html
. Not required if one of the siblings is present. Can be present only ifReplaceKeyPrefixWith
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 .
- Specified by:
getReplaceKeyWith
in interfaceCfnBucket.RedirectRuleProperty
- See Also:
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJson
in interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-