Class EnvironmentReference.Builder
java.lang.Object
software.amazon.awscdk.interfaces.finspace.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.environmentArn(String environmentArn) Sets the value ofEnvironmentReference.getEnvironmentArn()environmentId(String environmentId) Sets the value ofEnvironmentReference.getEnvironmentId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
environmentArn
Sets the value ofEnvironmentReference.getEnvironmentArn()- Parameters:
environmentArn- The ARN 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
-