Class EnvironmentReference.Builder
java.lang.Object
software.amazon.awscdk.services.datazone.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.Sets the value ofEnvironmentReference.getDomainId()environmentId(String environmentId) Sets the value ofEnvironmentReference.getEnvironmentId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
domainId
Sets the value ofEnvironmentReference.getDomainId()- Parameters:
domainId- The DomainId of the Environment resource. This parameter is required.- Returns:
this
-
environmentId
Sets the value ofEnvironmentReference.getEnvironmentId()- Parameters:
environmentId- The Id 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
-