public static interface CfnBucket.RedirectAllRequestsToProperty
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.s3.*; RedirectAllRequestsToProperty redirectAllRequestsToProperty = RedirectAllRequestsToProperty.builder() .hostName("hostName") // the properties below are optional .protocol("protocol") .build();
Modifier and Type | Interface and Description |
---|---|
static class |
CfnBucket.RedirectAllRequestsToProperty.Builder
A builder for
CfnBucket.RedirectAllRequestsToProperty |
static class |
CfnBucket.RedirectAllRequestsToProperty.Jsii$Proxy
An implementation for
CfnBucket.RedirectAllRequestsToProperty |
Modifier and Type | Method and Description |
---|---|
static CfnBucket.RedirectAllRequestsToProperty.Builder |
builder() |
java.lang.String |
getHostName()
Name of the host where requests are redirected.
|
default java.lang.String |
getProtocol()
Protocol to use when redirecting requests.
|
java.lang.String getHostName()
default java.lang.String getProtocol()
The default is the protocol that is used in the original request.
static CfnBucket.RedirectAllRequestsToProperty.Builder builder()