@Generated(value="software.amazon.awssdk:codegen") public class Redirect extends Object implements 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 |
protocolAsString()
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()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copypublic 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
protocolAsString().
Protocolpublic String protocolAsString()
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 replaceKeyPrefixWith()
public String replaceKeyWith()
public Redirect.Builder toBuilder()
ToCopyableBuildertoBuilder in interface ToCopyableBuilder<Redirect.Builder,Redirect>public static Redirect.Builder builder()
public static Class<? extends Redirect.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.