@Stability(value=Stable) public static final class CfnBucket.RedirectRuleProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnBucket.RedirectRuleProperty>
CfnBucket.RedirectRuleProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnBucket.RedirectRuleProperty |
build()
Builds the configured instance.
|
CfnBucket.RedirectRuleProperty.Builder |
hostName(String hostName)
Sets the value of
CfnBucket.RedirectRuleProperty.getHostName() |
CfnBucket.RedirectRuleProperty.Builder |
httpRedirectCode(String httpRedirectCode)
Sets the value of
CfnBucket.RedirectRuleProperty.getHttpRedirectCode() |
CfnBucket.RedirectRuleProperty.Builder |
protocol(String protocol)
Sets the value of
CfnBucket.RedirectRuleProperty.getProtocol() |
CfnBucket.RedirectRuleProperty.Builder |
replaceKeyPrefixWith(String replaceKeyPrefixWith)
Sets the value of
CfnBucket.RedirectRuleProperty.getReplaceKeyPrefixWith() |
CfnBucket.RedirectRuleProperty.Builder |
replaceKeyWith(String replaceKeyWith)
Sets the value of
CfnBucket.RedirectRuleProperty.getReplaceKeyWith() |
@Stability(value=Stable) public CfnBucket.RedirectRuleProperty.Builder hostName(String hostName)
CfnBucket.RedirectRuleProperty.getHostName()hostName - `CfnBucket.RedirectRuleProperty.HostName`.this@Stability(value=Stable) public CfnBucket.RedirectRuleProperty.Builder httpRedirectCode(String httpRedirectCode)
CfnBucket.RedirectRuleProperty.getHttpRedirectCode()httpRedirectCode - `CfnBucket.RedirectRuleProperty.HttpRedirectCode`.this@Stability(value=Stable) public CfnBucket.RedirectRuleProperty.Builder protocol(String protocol)
CfnBucket.RedirectRuleProperty.getProtocol()protocol - `CfnBucket.RedirectRuleProperty.Protocol`.this@Stability(value=Stable) public CfnBucket.RedirectRuleProperty.Builder replaceKeyPrefixWith(String replaceKeyPrefixWith)
CfnBucket.RedirectRuleProperty.getReplaceKeyPrefixWith()replaceKeyPrefixWith - `CfnBucket.RedirectRuleProperty.ReplaceKeyPrefixWith`.this@Stability(value=Stable) public CfnBucket.RedirectRuleProperty.Builder replaceKeyWith(String replaceKeyWith)
CfnBucket.RedirectRuleProperty.getReplaceKeyWith()replaceKeyWith - `CfnBucket.RedirectRuleProperty.ReplaceKeyWith`.this@Stability(value=Stable) public CfnBucket.RedirectRuleProperty build()
build in interface software.amazon.jsii.Builder<CfnBucket.RedirectRuleProperty>CfnBucket.RedirectRulePropertyNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.