Interface RoutingRuleCondition.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<RoutingRuleCondition.Builder,
,RoutingRuleCondition> SdkBuilder<RoutingRuleCondition.Builder,
,RoutingRuleCondition> SdkPojo
- Enclosing class:
RoutingRuleCondition
@Mutable
@NotThreadSafe
public static interface RoutingRuleCondition.Builder
extends SdkPojo, CopyableBuilder<RoutingRuleCondition.Builder,RoutingRuleCondition>
-
Method Summary
Modifier and TypeMethodDescriptiondefault RoutingRuleCondition.Builder
matchBasePaths
(Consumer<RoutingRuleMatchBasePaths.Builder> matchBasePaths) The base path to be matched.matchBasePaths
(RoutingRuleMatchBasePaths matchBasePaths) The base path to be matched.default RoutingRuleCondition.Builder
matchHeaders
(Consumer<RoutingRuleMatchHeaders.Builder> matchHeaders) The headers to be matched.matchHeaders
(RoutingRuleMatchHeaders matchHeaders) The headers to be matched.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 Details
-
matchBasePaths
The base path to be matched.
- Parameters:
matchBasePaths
- The base path to be matched.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
matchBasePaths
default RoutingRuleCondition.Builder matchBasePaths(Consumer<RoutingRuleMatchBasePaths.Builder> matchBasePaths) The base path to be matched.
This is a convenience method that creates an instance of theRoutingRuleMatchBasePaths.Builder
avoiding the need to create one manually viaRoutingRuleMatchBasePaths.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tomatchBasePaths(RoutingRuleMatchBasePaths)
.- Parameters:
matchBasePaths
- a consumer that will call methods onRoutingRuleMatchBasePaths.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
matchHeaders
The headers to be matched.
- Parameters:
matchHeaders
- The headers to be matched.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
matchHeaders
default RoutingRuleCondition.Builder matchHeaders(Consumer<RoutingRuleMatchHeaders.Builder> matchHeaders) The headers to be matched.
This is a convenience method that creates an instance of theRoutingRuleMatchHeaders.Builder
avoiding the need to create one manually viaRoutingRuleMatchHeaders.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tomatchHeaders(RoutingRuleMatchHeaders)
.- Parameters:
matchHeaders
- a consumer that will call methods onRoutingRuleMatchHeaders.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-