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