Interface RuleCondition.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<RuleCondition.Builder,,RuleCondition> SdkBuilder<RuleCondition.Builder,,RuleCondition> SdkPojo
- Enclosing class:
RuleCondition
@Mutable
@NotThreadSafe
public static interface RuleCondition.Builder
extends SdkPojo, CopyableBuilder<RuleCondition.Builder,RuleCondition>
-
Method Summary
Modifier and TypeMethodDescriptionhostHeader(String hostHeader) The exact host header value to match.hostHeaderWildcard(String hostHeaderWildcard) A wildcard pattern for host header matching (for example,*.example.com).The exact path to match.pathPrefix(String pathPrefix) The path prefix to match.default RuleCondition.BuilderqueryStringEquals(Consumer<QueryStringKeyValuePair.Builder> queryStringEquals) A query string key-value pair that must be present and match exactly.queryStringEquals(QueryStringKeyValuePair queryStringEquals) A query string key-value pair that must be present and match exactly.queryStringExists(String queryStringExists) A query string key that must be present in the request (any value is accepted).Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
hostHeader
The exact host header value to match.
- Parameters:
hostHeader- The exact host header value to match.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
hostHeaderWildcard
A wildcard pattern for host header matching (for example,
*.example.com).- Parameters:
hostHeaderWildcard- A wildcard pattern for host header matching (for example,*.example.com).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pathPrefix
The path prefix to match. The request path must start with this value. Must start with
/.- Parameters:
pathPrefix- The path prefix to match. The request path must start with this value. Must start with/.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pathExact
The exact path to match. Must start with
/.- Parameters:
pathExact- The exact path to match. Must start with/.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
queryStringEquals
A query string key-value pair that must be present and match exactly.
- Parameters:
queryStringEquals- A query string key-value pair that must be present and match exactly.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
queryStringEquals
default RuleCondition.Builder queryStringEquals(Consumer<QueryStringKeyValuePair.Builder> queryStringEquals) A query string key-value pair that must be present and match exactly.
This is a convenience method that creates an instance of theQueryStringKeyValuePair.Builderavoiding the need to create one manually viaQueryStringKeyValuePair.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toqueryStringEquals(QueryStringKeyValuePair).- Parameters:
queryStringEquals- a consumer that will call methods onQueryStringKeyValuePair.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
queryStringExists
A query string key that must be present in the request (any value is accepted).
- Parameters:
queryStringExists- A query string key that must be present in the request (any value is accepted).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-