public static interface AwsS3BucketWebsiteConfigurationRoutingRule.Builder extends SdkPojo, CopyableBuilder<AwsS3BucketWebsiteConfigurationRoutingRule.Builder,AwsS3BucketWebsiteConfigurationRoutingRule>
| Modifier and Type | Method and Description |
|---|---|
AwsS3BucketWebsiteConfigurationRoutingRule.Builder |
condition(AwsS3BucketWebsiteConfigurationRoutingRuleCondition condition)
Provides the condition that must be met in order to apply the routing rule.
|
default AwsS3BucketWebsiteConfigurationRoutingRule.Builder |
condition(Consumer<AwsS3BucketWebsiteConfigurationRoutingRuleCondition.Builder> condition)
Provides the condition that must be met in order to apply the routing rule.
|
AwsS3BucketWebsiteConfigurationRoutingRule.Builder |
redirect(AwsS3BucketWebsiteConfigurationRoutingRuleRedirect redirect)
Provides the rules to redirect the request if the condition in
Condition is met. |
default AwsS3BucketWebsiteConfigurationRoutingRule.Builder |
redirect(Consumer<AwsS3BucketWebsiteConfigurationRoutingRuleRedirect.Builder> redirect)
Provides the rules to redirect the request if the condition in
Condition is met. |
equalsBySdkFields, sdkFieldscopyapplyMutation, buildAwsS3BucketWebsiteConfigurationRoutingRule.Builder condition(AwsS3BucketWebsiteConfigurationRoutingRuleCondition condition)
Provides the condition that must be met in order to apply the routing rule.
condition - Provides the condition that must be met in order to apply the routing rule.default AwsS3BucketWebsiteConfigurationRoutingRule.Builder condition(Consumer<AwsS3BucketWebsiteConfigurationRoutingRuleCondition.Builder> condition)
Provides the condition that must be met in order to apply the routing rule.
This is a convenience method that creates an instance of theAwsS3BucketWebsiteConfigurationRoutingRuleCondition.Builder avoiding the need to create one manually
via AwsS3BucketWebsiteConfigurationRoutingRuleCondition.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and its
result is passed to condition(AwsS3BucketWebsiteConfigurationRoutingRuleCondition).
condition - a consumer that will call methods on
AwsS3BucketWebsiteConfigurationRoutingRuleCondition.Buildercondition(AwsS3BucketWebsiteConfigurationRoutingRuleCondition)AwsS3BucketWebsiteConfigurationRoutingRule.Builder redirect(AwsS3BucketWebsiteConfigurationRoutingRuleRedirect redirect)
Provides the rules to redirect the request if the condition in Condition is met.
redirect - Provides the rules to redirect the request if the condition in Condition is met.default AwsS3BucketWebsiteConfigurationRoutingRule.Builder redirect(Consumer<AwsS3BucketWebsiteConfigurationRoutingRuleRedirect.Builder> redirect)
Provides the rules to redirect the request if the condition in Condition is met.
AwsS3BucketWebsiteConfigurationRoutingRuleRedirect.Builder avoiding the need to create one manually
via AwsS3BucketWebsiteConfigurationRoutingRuleRedirect.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and its
result is passed to redirect(AwsS3BucketWebsiteConfigurationRoutingRuleRedirect).
redirect - a consumer that will call methods on
AwsS3BucketWebsiteConfigurationRoutingRuleRedirect.Builderredirect(AwsS3BucketWebsiteConfigurationRoutingRuleRedirect)Copyright © 2023. All rights reserved.