@Generated(value="software.amazon.awssdk:codegen") public final class RedirectAllRequestsTo extends Object implements SdkPojo, Serializable, ToCopyableBuilder<RedirectAllRequestsTo.Builder,RedirectAllRequestsTo>
Specifies the redirect behavior of all requests to a website endpoint of an Amazon S3 bucket.
| Modifier and Type | Class and Description |
|---|---|
static interface |
RedirectAllRequestsTo.Builder |
| Modifier and Type | Method and Description |
|---|---|
static RedirectAllRequestsTo.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
hostName()
Name of the host where requests are redirected.
|
Protocol |
protocol()
Protocol to use when redirecting requests.
|
String |
protocolAsString()
Protocol to use when redirecting requests.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends RedirectAllRequestsTo.Builder> |
serializableBuilderClass() |
RedirectAllRequestsTo.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String hostName()
Name of the host where requests are redirected.
public Protocol protocol()
Protocol to use when redirecting requests. The default is the protocol that is used in the original request.
If the service returns an enum value that is not available in the current SDK version, protocol will
return Protocol.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
protocolAsString().
Protocolpublic String protocolAsString()
Protocol to use when redirecting requests. The default is the protocol that is used in the original request.
If the service returns an enum value that is not available in the current SDK version, protocol will
return Protocol.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
protocolAsString().
Protocolpublic RedirectAllRequestsTo.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<RedirectAllRequestsTo.Builder,RedirectAllRequestsTo>public static RedirectAllRequestsTo.Builder builder()
public static Class<? extends RedirectAllRequestsTo.Builder> serializableBuilderClass()
public String toString()
Copyright © 2019. All rights reserved.