@Generated(value="jsii-pacmak/1.47.0 (build 86d2c33)", date="2021-12-22T10:27:19.076Z") @Stability(value=Stable) public interface RedirectTarget extends software.amazon.jsii.JsiiSerializable
Example:
// Example automatically generated from non-compiling source. May contain errors.
Bucket bucket = Bucket.Builder.create(this, "MyRedirectedBucket")
.websiteRedirect(RedirectTarget.builder().hostName("www.example.com").build())
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
RedirectTarget.Builder
A builder for
RedirectTarget |
static class |
RedirectTarget.Jsii$Proxy
An implementation for
RedirectTarget |
| Modifier and Type | Method and Description |
|---|---|
static RedirectTarget.Builder |
builder() |
String |
getHostName()
Name of the host where requests are redirected.
|
default RedirectProtocol |
getProtocol()
Protocol to use when redirecting requests.
|
@Stability(value=Stable) @NotNull String getHostName()
@Stability(value=Stable) @Nullable default RedirectProtocol getProtocol()
Default: - The protocol used in the original request.
@Stability(value=Stable) static RedirectTarget.Builder builder()
RedirectTarget.Builder of RedirectTargetCopyright © 2021. All rights reserved.