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