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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default RoutingRuleCondition.BuildermatchBasePaths(Consumer<RoutingRuleMatchBasePaths.Builder> matchBasePaths)The base path to be matched.RoutingRuleCondition.BuildermatchBasePaths(RoutingRuleMatchBasePaths matchBasePaths)The base path to be matched.default RoutingRuleCondition.BuildermatchHeaders(Consumer<RoutingRuleMatchHeaders.Builder> matchHeaders)The headers to be matched.RoutingRuleCondition.BuildermatchHeaders(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 Detail
-
matchBasePaths
RoutingRuleCondition.Builder matchBasePaths(RoutingRuleMatchBasePaths 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.Builderavoiding the need to create one manually viaRoutingRuleMatchBasePaths.builder().When the
Consumercompletes,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:
matchBasePaths(RoutingRuleMatchBasePaths)
-
matchHeaders
RoutingRuleCondition.Builder matchHeaders(RoutingRuleMatchHeaders 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.Builderavoiding the need to create one manually viaRoutingRuleMatchHeaders.builder().When the
Consumercompletes,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:
matchHeaders(RoutingRuleMatchHeaders)
-
-