Class CfnBranch.EnvironmentVariableProperty.Builder
java.lang.Object
software.amazon.awscdk.services.amplify.CfnBranch.EnvironmentVariableProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnBranch.EnvironmentVariableProperty>
- Enclosing interface:
- CfnBranch.EnvironmentVariableProperty
@Stability(Stable)
public static final class CfnBranch.EnvironmentVariableProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnBranch.EnvironmentVariableProperty>
A builder for
CfnBranch.EnvironmentVariableProperty
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnBranch.EnvironmentVariableProperty.getName()
Sets the value ofCfnBranch.EnvironmentVariableProperty.getValue()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
name
Sets the value ofCfnBranch.EnvironmentVariableProperty.getName()
- Parameters:
name
- The environment variable name. This parameter is required. Length Constraints: Maximum length of 255.Pattern: (?s).*
- Returns:
this
-
value
Sets the value ofCfnBranch.EnvironmentVariableProperty.getValue()
- Parameters:
value
- The environment variable value. This parameter is required. Length Constraints: Maximum length of 5500.Pattern: (?s).*
- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnBranch.EnvironmentVariableProperty>
- Returns:
- a new instance of
CfnBranch.EnvironmentVariableProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-