@Generated(value="software.amazon.awssdk:codegen") public class Redirect extends Object implements software.amazon.awssdk.utils.builder.ToCopyableBuilder<Redirect.Builder,Redirect>
Modifier and Type | Class and Description |
---|---|
static interface |
Redirect.Builder |
Modifier and Type | Method and Description |
---|---|
static Redirect.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
hostName()
The host name to use in the redirect request.
|
String |
httpRedirectCode()
The HTTP redirect code to use on the response.
|
Protocol |
protocol()
Protocol to use (http, https) when redirecting requests.
|
String |
protocolString()
Protocol to use (http, https) when redirecting requests.
|
String |
replaceKeyPrefixWith()
The object key prefix to use in the redirect request.
|
String |
replaceKeyWith()
The specific object key to use in the redirect request.
|
static Class<? extends Redirect.Builder> |
serializableBuilderClass() |
Redirect.Builder |
toBuilder() |
String |
toString() |
public String hostName()
public String httpRedirectCode()
public Protocol protocol()
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
protocolString()
.
Protocol
public String protocolString()
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
protocolString()
.
Protocol
public String replaceKeyPrefixWith()
public String replaceKeyWith()
public Redirect.Builder toBuilder()
toBuilder
in interface software.amazon.awssdk.utils.builder.ToCopyableBuilder<Redirect.Builder,Redirect>
public static Redirect.Builder builder()
public static Class<? extends Redirect.Builder> serializableBuilderClass()
Copyright © 2017. All rights reserved.