Class CfnLinkRoutingRule.RuleConditionProperty.Builder
java.lang.Object
software.amazon.awscdk.services.rtbfabric.CfnLinkRoutingRule.RuleConditionProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnLinkRoutingRule.RuleConditionProperty>
- Enclosing interface:
CfnLinkRoutingRule.RuleConditionProperty
@Stability(Stable)
public static final class CfnLinkRoutingRule.RuleConditionProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnLinkRoutingRule.RuleConditionProperty>
A builder for
CfnLinkRoutingRule.RuleConditionProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.hostHeader(String hostHeader) Sets the value ofCfnLinkRoutingRule.RuleConditionProperty.getHostHeader()hostHeaderWildcard(String hostHeaderWildcard) Sets the value ofCfnLinkRoutingRule.RuleConditionProperty.getHostHeaderWildcard()Sets the value ofCfnLinkRoutingRule.RuleConditionProperty.getPathExact()pathPrefix(String pathPrefix) Sets the value ofCfnLinkRoutingRule.RuleConditionProperty.getPathPrefix()queryStringEquals(IResolvable queryStringEquals) Sets the value ofCfnLinkRoutingRule.RuleConditionProperty.getQueryStringEquals()queryStringEquals(CfnLinkRoutingRule.QueryStringKeyValuePairProperty queryStringEquals) Sets the value ofCfnLinkRoutingRule.RuleConditionProperty.getQueryStringEquals()queryStringExists(String queryStringExists) Sets the value ofCfnLinkRoutingRule.RuleConditionProperty.getQueryStringExists()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
hostHeader
@Stability(Stable) public CfnLinkRoutingRule.RuleConditionProperty.Builder hostHeader(String hostHeader) Sets the value ofCfnLinkRoutingRule.RuleConditionProperty.getHostHeader()- Parameters:
hostHeader- Exact host match — RFC 3986 unreserved characters. Mutually exclusive with HostHeaderWildcard.- Returns:
this
-
hostHeaderWildcard
@Stability(Stable) public CfnLinkRoutingRule.RuleConditionProperty.Builder hostHeaderWildcard(String hostHeaderWildcard) Sets the value ofCfnLinkRoutingRule.RuleConditionProperty.getHostHeaderWildcard()- Parameters:
hostHeaderWildcard- Wildcard host pattern (e.g., *.example.com) — RFC 3986 unreserved characters plus *. Mutually exclusive with HostHeader.- Returns:
this
-
pathExact
@Stability(Stable) public CfnLinkRoutingRule.RuleConditionProperty.Builder pathExact(String pathExact) Sets the value ofCfnLinkRoutingRule.RuleConditionProperty.getPathExact()- Parameters:
pathExact- Exact path match — must start with /. Mutually exclusive with PathPrefix.- Returns:
this
-
pathPrefix
@Stability(Stable) public CfnLinkRoutingRule.RuleConditionProperty.Builder pathPrefix(String pathPrefix) Sets the value ofCfnLinkRoutingRule.RuleConditionProperty.getPathPrefix()- Parameters:
pathPrefix- Path prefix matching — strict starts-with, must start with /. Mutually exclusive with PathExact.- Returns:
this
-
queryStringEquals
@Stability(Stable) public CfnLinkRoutingRule.RuleConditionProperty.Builder queryStringEquals(IResolvable queryStringEquals) Sets the value ofCfnLinkRoutingRule.RuleConditionProperty.getQueryStringEquals()- Parameters:
queryStringEquals- the value to be set.- Returns:
this
-
queryStringEquals
@Stability(Stable) public CfnLinkRoutingRule.RuleConditionProperty.Builder queryStringEquals(CfnLinkRoutingRule.QueryStringKeyValuePairProperty queryStringEquals) Sets the value ofCfnLinkRoutingRule.RuleConditionProperty.getQueryStringEquals()- Parameters:
queryStringEquals- the value to be set.- Returns:
this
-
queryStringExists
@Stability(Stable) public CfnLinkRoutingRule.RuleConditionProperty.Builder queryStringExists(String queryStringExists) Sets the value ofCfnLinkRoutingRule.RuleConditionProperty.getQueryStringExists()- Parameters:
queryStringExists- Query string key presence check (any value accepted).- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnLinkRoutingRule.RuleConditionProperty>- Returns:
- a new instance of
CfnLinkRoutingRule.RuleConditionProperty - Throws:
NullPointerException- if any required attribute was not provided
-