Class CfnLinkRoutingRule.QueryStringKeyValuePairProperty.Builder
java.lang.Object
software.amazon.awscdk.services.rtbfabric.CfnLinkRoutingRule.QueryStringKeyValuePairProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnLinkRoutingRule.QueryStringKeyValuePairProperty>
- Enclosing interface:
CfnLinkRoutingRule.QueryStringKeyValuePairProperty
@Stability(Stable)
public static final class CfnLinkRoutingRule.QueryStringKeyValuePairProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnLinkRoutingRule.QueryStringKeyValuePairProperty>
A builder for
CfnLinkRoutingRule.QueryStringKeyValuePairProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnLinkRoutingRule.QueryStringKeyValuePairProperty.getKey()Sets the value ofCfnLinkRoutingRule.QueryStringKeyValuePairProperty.getValue()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
key
@Stability(Stable) public CfnLinkRoutingRule.QueryStringKeyValuePairProperty.Builder key(String key) Sets the value ofCfnLinkRoutingRule.QueryStringKeyValuePairProperty.getKey()- Parameters:
key- Query string key — RFC 3986 unreserved characters. This parameter is required.- Returns:
this
-
value
@Stability(Stable) public CfnLinkRoutingRule.QueryStringKeyValuePairProperty.Builder value(String value) Sets the value ofCfnLinkRoutingRule.QueryStringKeyValuePairProperty.getValue()- Parameters:
value- Query string value — RFC 3986 unreserved characters. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnLinkRoutingRule.QueryStringKeyValuePairProperty>- Returns:
- a new instance of
CfnLinkRoutingRule.QueryStringKeyValuePairProperty - Throws:
NullPointerException- if any required attribute was not provided
-