Interface RoutingRuleMatchHeaders.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<RoutingRuleMatchHeaders.Builder,
,RoutingRuleMatchHeaders> SdkBuilder<RoutingRuleMatchHeaders.Builder,
,RoutingRuleMatchHeaders> SdkPojo
- Enclosing class:
RoutingRuleMatchHeaders
@Mutable
@NotThreadSafe
public static interface RoutingRuleMatchHeaders.Builder
extends SdkPojo, CopyableBuilder<RoutingRuleMatchHeaders.Builder,RoutingRuleMatchHeaders>
-
Method Summary
Modifier and TypeMethodDescriptionThe header name and header value glob to be matched.anyOf
(Consumer<RoutingRuleMatchHeaderValue.Builder>... anyOf) The header name and header value glob to be matched.anyOf
(RoutingRuleMatchHeaderValue... anyOf) The header name and header value glob 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
-
anyOf
The header name and header value glob to be matched. The matchHeaders condition is matched if any of the header name and header value globs are matched.
- Parameters:
anyOf
- The header name and header value glob to be matched. The matchHeaders condition is matched if any of the header name and header value globs are matched.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
anyOf
The header name and header value glob to be matched. The matchHeaders condition is matched if any of the header name and header value globs are matched.
- Parameters:
anyOf
- The header name and header value glob to be matched. The matchHeaders condition is matched if any of the header name and header value globs are matched.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
anyOf
The header name and header value glob to be matched. The matchHeaders condition is matched if any of the header name and header value globs are matched.
This is a convenience method that creates an instance of theRoutingRuleMatchHeaderValue.Builder
avoiding the need to create one manually viaRoutingRuleMatchHeaderValue.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toanyOf(List<RoutingRuleMatchHeaderValue>)
.- Parameters:
anyOf
- a consumer that will call methods onRoutingRuleMatchHeaderValue.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-