@Generated(value="software.amazon.awssdk:codegen") public final class RedirectAllRequestsTo extends Object implements SdkPojo, Serializable, ToCopyableBuilder<RedirectAllRequestsTo.Builder,RedirectAllRequestsTo>
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 will be redirected.
|
Protocol |
protocol()
Protocol to use (http, https) when redirecting requests.
|
String |
protocolAsString()
Protocol to use (http, https) 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, wait
copy
public String hostName()
Name of the host where requests will be redirected.
public Protocol protocol()
Protocol to use (http, https) 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()
.
Protocol
public String protocolAsString()
Protocol to use (http, https) 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()
.
Protocol
public 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.