Class ProjectReference.Builder
java.lang.Object
software.amazon.awscdk.services.iotsitewise.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.projectArn
(String projectArn) Sets the value ofProjectReference.getProjectArn()
Sets the value ofProjectReference.getProjectId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
projectArn
Sets the value ofProjectReference.getProjectArn()
- Parameters:
projectArn
- The ARN of the Project resource. This parameter is required.- Returns:
this
-
projectId
Sets the value ofProjectReference.getProjectId()
- Parameters:
projectId
- The ProjectId of the Project resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<ProjectReference>
- Returns:
- a new instance of
ProjectReference
- Throws:
NullPointerException
- if any required attribute was not provided
-