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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AwsS3BucketWebsiteConfigurationRoutingRuleRedirect.Builderhostname(String hostname)The host name to use in the redirect request.AwsS3BucketWebsiteConfigurationRoutingRuleRedirect.BuilderhttpRedirectCode(String httpRedirectCode)The HTTP redirect code to use in the response.AwsS3BucketWebsiteConfigurationRoutingRuleRedirect.Builderprotocol(String protocol)The protocol to use to redirect the request.AwsS3BucketWebsiteConfigurationRoutingRuleRedirect.BuilderreplaceKeyPrefixWith(String replaceKeyPrefixWith)The object key prefix to use in the redirect request.AwsS3BucketWebsiteConfigurationRoutingRuleRedirect.BuilderreplaceKeyWith(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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
hostname
AwsS3BucketWebsiteConfigurationRoutingRuleRedirect.Builder hostname(String 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
AwsS3BucketWebsiteConfigurationRoutingRuleRedirect.Builder protocol(String 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
ReplaceKeyWithis present.- Parameters:
replaceKeyPrefixWith- The object key prefix to use in the redirect request.Cannot be provided if
ReplaceKeyWithis present.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
replaceKeyWith
AwsS3BucketWebsiteConfigurationRoutingRuleRedirect.Builder replaceKeyWith(String replaceKeyWith)
The specific object key to use in the redirect request.
Cannot be provided if
ReplaceKeyPrefixWithis present.- Parameters:
replaceKeyWith- The specific object key to use in the redirect request.Cannot be provided if
ReplaceKeyPrefixWithis present.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-