@Stability(value=Stable) public static final class CfnBucket.RedirectAllRequestsToProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnBucket.RedirectAllRequestsToProperty>
CfnBucket.RedirectAllRequestsToProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnBucket.RedirectAllRequestsToProperty |
build()
Builds the configured instance.
|
CfnBucket.RedirectAllRequestsToProperty.Builder |
hostName(String hostName)
Sets the value of
CfnBucket.RedirectAllRequestsToProperty.getHostName() |
CfnBucket.RedirectAllRequestsToProperty.Builder |
protocol(String protocol)
Sets the value of
CfnBucket.RedirectAllRequestsToProperty.getProtocol() |
@Stability(value=Stable) public CfnBucket.RedirectAllRequestsToProperty.Builder hostName(String hostName)
CfnBucket.RedirectAllRequestsToProperty.getHostName()hostName - Name of the host where requests are redirected. This parameter is required.this@Stability(value=Stable) public CfnBucket.RedirectAllRequestsToProperty.Builder protocol(String protocol)
CfnBucket.RedirectAllRequestsToProperty.getProtocol()protocol - Protocol to use when redirecting requests.
The default is the protocol that is used in the original request.this@Stability(value=Stable) public CfnBucket.RedirectAllRequestsToProperty build()
build in interface software.amazon.jsii.Builder<CfnBucket.RedirectAllRequestsToProperty>CfnBucket.RedirectAllRequestsToPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.