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