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.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.s3.CfnBucket.RedirectRuleProperty
CfnBucket.RedirectRuleProperty.Builder, CfnBucket.RedirectRuleProperty.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor that initializes the object based on literal property values passed by theCfnBucket.RedirectRuleProperty.Builder.protectedJsii$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.JsonNodefinal booleanfinal StringThe host name to use in the redirect request.final StringThe HTTP redirect code to use on the response.final StringProtocol to use when redirecting requests.final StringThe object key prefix to use in the redirect request.final StringThe specific object key to use in the redirect request.final inthashCode()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.RedirectRulePropertyThe host name to use in the redirect request.- Specified by:
getHostNamein interfaceCfnBucket.RedirectRuleProperty- See Also:
-
getHttpRedirectCode
Description copied from interface:CfnBucket.RedirectRulePropertyThe HTTP redirect code to use on the response.Not required if one of the siblings is present.
- Specified by:
getHttpRedirectCodein interfaceCfnBucket.RedirectRuleProperty- See Also:
-
getProtocol
Description copied from interface:CfnBucket.RedirectRulePropertyProtocol to use when redirecting requests.The default is the protocol that is used in the original request.
- Specified by:
getProtocolin interfaceCfnBucket.RedirectRuleProperty- See Also:
-
getReplaceKeyPrefixWith
Description copied from interface:CfnBucket.RedirectRulePropertyThe 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 withKeyPrefixEqualsset todocs/and in the Redirect setReplaceKeyPrefixWithto/documents. Not required if one of the siblings is present. Can be present only ifReplaceKeyWithis 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:
getReplaceKeyPrefixWithin interfaceCfnBucket.RedirectRuleProperty- See Also:
-
getReplaceKeyWith
Description copied from interface:CfnBucket.RedirectRulePropertyThe 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 ifReplaceKeyPrefixWithis 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:
getReplaceKeyWithin interfaceCfnBucket.RedirectRuleProperty- See Also:
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-