Class AwsS3BucketWebsiteConfigurationRoutingRuleRedirect
- java.lang.Object
-
- software.amazon.awssdk.services.securityhub.model.AwsS3BucketWebsiteConfigurationRoutingRuleRedirect
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<AwsS3BucketWebsiteConfigurationRoutingRuleRedirect.Builder,AwsS3BucketWebsiteConfigurationRoutingRuleRedirect>
@Generated("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
Conditionis met.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceAwsS3BucketWebsiteConfigurationRoutingRuleRedirect.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AwsS3BucketWebsiteConfigurationRoutingRuleRedirect.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringhostname()The host name to use in the redirect request.StringhttpRedirectCode()The HTTP redirect code to use in the response.Stringprotocol()The protocol to use to redirect the request.StringreplaceKeyPrefixWith()The object key prefix to use in the redirect request.StringreplaceKeyWith()The specific object key to use in the redirect request.List<SdkField<?>>sdkFields()static Class<? extends AwsS3BucketWebsiteConfigurationRoutingRuleRedirect.Builder>serializableBuilderClass()AwsS3BucketWebsiteConfigurationRoutingRuleRedirect.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
hostname
public final String hostname()
The host name to use in the redirect request.
- Returns:
- The host name to use in the redirect request.
-
httpRedirectCode
public final String httpRedirectCode()
The HTTP redirect code to use in the response.
- Returns:
- The HTTP redirect code to use in the response.
-
protocol
public final String protocol()
The protocol to use to redirect the request. By default, uses the protocol from the original request.
- Returns:
- The protocol to use to redirect the request. By default, uses the protocol from the original request.
-
replaceKeyPrefixWith
public final String replaceKeyPrefixWith()
The object key prefix to use in the redirect request.
Cannot be provided if
ReplaceKeyWithis present.- Returns:
- The object key prefix to use in the redirect request.
Cannot be provided if
ReplaceKeyWithis present.
-
replaceKeyWith
public final String replaceKeyWith()
The specific object key to use in the redirect request.
Cannot be provided if
ReplaceKeyPrefixWithis present.- Returns:
- The specific object key to use in the redirect request.
Cannot be provided if
ReplaceKeyPrefixWithis present.
-
toBuilder
public AwsS3BucketWebsiteConfigurationRoutingRuleRedirect.Builder toBuilder()
-
builder
public static AwsS3BucketWebsiteConfigurationRoutingRuleRedirect.Builder builder()
-
serializableBuilderClass
public static Class<? extends AwsS3BucketWebsiteConfigurationRoutingRuleRedirect.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-