@Stability(value=Stable)
public static interface CfnBucket.RedirectAllRequestsToProperty
extends software.amazon.jsii.JsiiSerializable
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() |
String |
getHostName()
Name of the host where requests are redirected.
|
default String |
getProtocol()
Protocol to use when redirecting requests.
|
@Stability(value=Stable) @NotNull String getHostName()
@Stability(value=Stable) @Nullable default String getProtocol()
The default is the protocol that is used in the original request.
@Stability(value=Stable) static CfnBucket.RedirectAllRequestsToProperty.Builder builder()
Copyright © 2022. All rights reserved.