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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RoutingRuleMatchHeaders.BuilderanyOf(Collection<RoutingRuleMatchHeaderValue> anyOf)The header name and header value glob to be matched.RoutingRuleMatchHeaders.BuilderanyOf(Consumer<RoutingRuleMatchHeaderValue.Builder>... anyOf)The header name and header value glob to be matched.RoutingRuleMatchHeaders.BuilderanyOf(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 Detail
-
anyOf
RoutingRuleMatchHeaders.Builder anyOf(Collection<RoutingRuleMatchHeaderValue> 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
RoutingRuleMatchHeaders.Builder anyOf(RoutingRuleMatchHeaderValue... 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
RoutingRuleMatchHeaders.Builder anyOf(Consumer<RoutingRuleMatchHeaderValue.Builder>... 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.Builderavoiding the need to create one manually viaRoutingRuleMatchHeaderValue.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#anyOf(List.) - 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:
#anyOf(java.util.Collection)
-
-