@Generated(value="software.amazon.awssdk:codegen") public final class AwsS3BucketWebsiteConfigurationRoutingRuleRedirect extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AwsS3BucketWebsiteConfigurationRoutingRuleRedirect.Builder,AwsS3BucketWebsiteConfigurationRoutingRuleRedirect>
The rules to redirect the request if the condition in Condition is met.
| Modifier and Type | Class and Description |
|---|---|
static interface |
AwsS3BucketWebsiteConfigurationRoutingRuleRedirect.Builder |
| Modifier and Type | Method and Description |
|---|---|
static AwsS3BucketWebsiteConfigurationRoutingRuleRedirect.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(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 in the response.
|
String |
protocol()
The protocol to use to redirect the request.
|
String |
replaceKeyPrefixWith()
The object key prefix to use in the redirect request.
|
String |
replaceKeyWith()
The specific object key to use in the redirect request.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends AwsS3BucketWebsiteConfigurationRoutingRuleRedirect.Builder> |
serializableBuilderClass() |
AwsS3BucketWebsiteConfigurationRoutingRuleRedirect.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String hostname()
The host name to use in the redirect request.
public final String httpRedirectCode()
The HTTP redirect code to use in the response.
public final String protocol()
The protocol to use to redirect the request. By default, uses the protocol from the original request.
public final String replaceKeyPrefixWith()
The object key prefix to use in the redirect request.
Cannot be provided if ReplaceKeyWith is present.
Cannot be provided if ReplaceKeyWith is present.
public final String replaceKeyWith()
The specific object key to use in the redirect request.
Cannot be provided if ReplaceKeyPrefixWith is present.
Cannot be provided if ReplaceKeyPrefixWith is present.
public AwsS3BucketWebsiteConfigurationRoutingRuleRedirect.Builder toBuilder()
public static AwsS3BucketWebsiteConfigurationRoutingRuleRedirect.Builder builder()
public static Class<? extends AwsS3BucketWebsiteConfigurationRoutingRuleRedirect.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.