Class CfnListenerRule.QueryStringKeyValueProperty.Builder
java.lang.Object
software.amazon.awscdk.services.elasticloadbalancingv2.CfnListenerRule.QueryStringKeyValueProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnListenerRule.QueryStringKeyValueProperty>
- Enclosing interface:
CfnListenerRule.QueryStringKeyValueProperty
@Stability(Stable)
public static final class CfnListenerRule.QueryStringKeyValueProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnListenerRule.QueryStringKeyValueProperty>
A builder for
CfnListenerRule.QueryStringKeyValueProperty
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnListenerRule.QueryStringKeyValueProperty.getKey()
Sets the value ofCfnListenerRule.QueryStringKeyValueProperty.getValue()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
key
Sets the value ofCfnListenerRule.QueryStringKeyValueProperty.getKey()
- Parameters:
key
- The key. You can omit the key.- Returns:
this
-
value
Sets the value ofCfnListenerRule.QueryStringKeyValueProperty.getValue()
- Parameters:
value
- The value.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnListenerRule.QueryStringKeyValueProperty>
- Returns:
- a new instance of
CfnListenerRule.QueryStringKeyValueProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-