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