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