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