Interface AwsS3BucketWebsiteConfiguration.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<AwsS3BucketWebsiteConfiguration.Builder,AwsS3BucketWebsiteConfiguration>,SdkBuilder<AwsS3BucketWebsiteConfiguration.Builder,AwsS3BucketWebsiteConfiguration>,SdkPojo
- Enclosing class:
- AwsS3BucketWebsiteConfiguration
public static interface AwsS3BucketWebsiteConfiguration.Builder extends SdkPojo, CopyableBuilder<AwsS3BucketWebsiteConfiguration.Builder,AwsS3BucketWebsiteConfiguration>
-
-
Method Summary
-
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
-
errorDocument
AwsS3BucketWebsiteConfiguration.Builder errorDocument(String errorDocument)
The name of the error document for the website.
- Parameters:
errorDocument- The name of the error document for the website.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
indexDocumentSuffix
AwsS3BucketWebsiteConfiguration.Builder indexDocumentSuffix(String indexDocumentSuffix)
The name of the index document for the website.
- Parameters:
indexDocumentSuffix- The name of the index document for the website.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
redirectAllRequestsTo
AwsS3BucketWebsiteConfiguration.Builder redirectAllRequestsTo(AwsS3BucketWebsiteConfigurationRedirectTo redirectAllRequestsTo)
The redirect behavior for requests to the website.
- Parameters:
redirectAllRequestsTo- The redirect behavior for requests to the website.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
redirectAllRequestsTo
default AwsS3BucketWebsiteConfiguration.Builder redirectAllRequestsTo(Consumer<AwsS3BucketWebsiteConfigurationRedirectTo.Builder> redirectAllRequestsTo)
The redirect behavior for requests to the website.
This is a convenience method that creates an instance of theAwsS3BucketWebsiteConfigurationRedirectTo.Builderavoiding the need to create one manually viaAwsS3BucketWebsiteConfigurationRedirectTo.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toredirectAllRequestsTo(AwsS3BucketWebsiteConfigurationRedirectTo).- Parameters:
redirectAllRequestsTo- a consumer that will call methods onAwsS3BucketWebsiteConfigurationRedirectTo.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
redirectAllRequestsTo(AwsS3BucketWebsiteConfigurationRedirectTo)
-
routingRules
AwsS3BucketWebsiteConfiguration.Builder routingRules(Collection<AwsS3BucketWebsiteConfigurationRoutingRule> routingRules)
The rules for applying redirects for requests to the website.
- Parameters:
routingRules- The rules for applying redirects for requests to the website.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
routingRules
AwsS3BucketWebsiteConfiguration.Builder routingRules(AwsS3BucketWebsiteConfigurationRoutingRule... routingRules)
The rules for applying redirects for requests to the website.
- Parameters:
routingRules- The rules for applying redirects for requests to the website.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
routingRules
AwsS3BucketWebsiteConfiguration.Builder routingRules(Consumer<AwsS3BucketWebsiteConfigurationRoutingRule.Builder>... routingRules)
The rules for applying redirects for requests to the website.
This is a convenience method that creates an instance of theAwsS3BucketWebsiteConfigurationRoutingRule.Builderavoiding the need to create one manually viaAwsS3BucketWebsiteConfigurationRoutingRule.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#routingRules(List.) - Parameters:
routingRules- a consumer that will call methods onAwsS3BucketWebsiteConfigurationRoutingRule.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#routingRules(java.util.Collection)
-
-