Interface AwsS3BucketWebsiteConfigurationRoutingRuleRedirect.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AwsS3BucketWebsiteConfigurationRoutingRuleRedirect.Builder,
,AwsS3BucketWebsiteConfigurationRoutingRuleRedirect> SdkBuilder<AwsS3BucketWebsiteConfigurationRoutingRuleRedirect.Builder,
,AwsS3BucketWebsiteConfigurationRoutingRuleRedirect> SdkPojo
- Enclosing class:
AwsS3BucketWebsiteConfigurationRoutingRuleRedirect
public static interface AwsS3BucketWebsiteConfigurationRoutingRuleRedirect.Builder
extends SdkPojo, CopyableBuilder<AwsS3BucketWebsiteConfigurationRoutingRuleRedirect.Builder,AwsS3BucketWebsiteConfigurationRoutingRuleRedirect>
-
Method Summary
Modifier and TypeMethodDescriptionThe host name to use in the redirect request.httpRedirectCode
(String httpRedirectCode) The HTTP redirect code to use in the response.The protocol to use to redirect the request.replaceKeyPrefixWith
(String replaceKeyPrefixWith) The object key prefix to use in the redirect request.replaceKeyWith
(String replaceKeyWith) The specific object key to use in the redirect request.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
hostname
The host name to use in the redirect request.
- Parameters:
hostname
- The host name to use in the redirect request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
httpRedirectCode
AwsS3BucketWebsiteConfigurationRoutingRuleRedirect.Builder httpRedirectCode(String httpRedirectCode) The HTTP redirect code to use in the response.
- Parameters:
httpRedirectCode
- The HTTP redirect code to use in the response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
protocol
The protocol to use to redirect the request. By default, uses the protocol from the original request.
- Parameters:
protocol
- The protocol to use to redirect the request. By default, uses the protocol from the original request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
replaceKeyPrefixWith
AwsS3BucketWebsiteConfigurationRoutingRuleRedirect.Builder replaceKeyPrefixWith(String replaceKeyPrefixWith) The object key prefix to use in the redirect request.
Cannot be provided if
ReplaceKeyWith
is present.- Parameters:
replaceKeyPrefixWith
- The object key prefix to use in the redirect request.Cannot be provided if
ReplaceKeyWith
is present.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
replaceKeyWith
The specific object key to use in the redirect request.
Cannot be provided if
ReplaceKeyPrefixWith
is present.- Parameters:
replaceKeyWith
- The specific object key to use in the redirect request.Cannot be provided if
ReplaceKeyPrefixWith
is present.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-