Class ProjectReference.Builder
java.lang.Object
software.amazon.awscdk.services.devicefarm.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()
-
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
-
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
-