Class CfnExpressGatewayServicePropsMixin.KeyValuePairProperty.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.ecs.mixins.CfnExpressGatewayServicePropsMixin.KeyValuePairProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnExpressGatewayServicePropsMixin.KeyValuePairProperty>
- Enclosing interface:
CfnExpressGatewayServicePropsMixin.KeyValuePairProperty
@Stability(Stable)
public static final class CfnExpressGatewayServicePropsMixin.KeyValuePairProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnExpressGatewayServicePropsMixin.KeyValuePairProperty>
A builder for
CfnExpressGatewayServicePropsMixin.KeyValuePairProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnExpressGatewayServicePropsMixin.KeyValuePairProperty.getName()Sets the value ofCfnExpressGatewayServicePropsMixin.KeyValuePairProperty.getValue()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
name
@Stability(Stable) public CfnExpressGatewayServicePropsMixin.KeyValuePairProperty.Builder name(String name) Sets the value ofCfnExpressGatewayServicePropsMixin.KeyValuePairProperty.getName()- Parameters:
name- The name of the key-value pair. For environment variables, this is the name of the environment variable.- Returns:
this
-
value
@Stability(Stable) public CfnExpressGatewayServicePropsMixin.KeyValuePairProperty.Builder value(String value) Sets the value ofCfnExpressGatewayServicePropsMixin.KeyValuePairProperty.getValue()- Parameters:
value- The value of the key-value pair. For environment variables, this is the value of the environment variable.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnExpressGatewayServicePropsMixin.KeyValuePairProperty>- Returns:
- a new instance of
CfnExpressGatewayServicePropsMixin.KeyValuePairProperty - Throws:
NullPointerException- if any required attribute was not provided
-