@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:41.816Z") @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 © 2022. All rights reserved.