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