Class EnvironmentReference.Builder
java.lang.Object
software.amazon.awscdk.interfaces.appconfig.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 TypeMethodDescriptionapplicationId(String applicationId) Sets the value ofEnvironmentReference.getApplicationId()build()Builds the configured instance.environmentId(String environmentId) Sets the value ofEnvironmentReference.getEnvironmentId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
applicationId
Sets the value ofEnvironmentReference.getApplicationId()- Parameters:
applicationId- The ApplicationId of the Environment resource. This parameter is required.- Returns:
this
-
environmentId
Sets the value ofEnvironmentReference.getEnvironmentId()- Parameters:
environmentId- The EnvironmentId 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
-