Class EnvironmentReference.Builder
java.lang.Object
software.amazon.awscdk.interfaces.elasticbeanstalk.EnvironmentReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<EnvironmentReference>
- Enclosing interface:
EnvironmentReference
@Stability(Stable)
public static final class EnvironmentReference.Builder
extends Object
implements software.amazon.jsii.Builder<EnvironmentReference>
A builder for
EnvironmentReference-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.environmentName(String environmentName) Sets the value ofEnvironmentReference.getEnvironmentName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
environmentName
Sets the value ofEnvironmentReference.getEnvironmentName()- Parameters:
environmentName- The EnvironmentName of the Environment resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<EnvironmentReference>- Returns:
- a new instance of
EnvironmentReference - Throws:
NullPointerException- if any required attribute was not provided
-