Class WorkspaceReference.Builder
java.lang.Object
software.amazon.awscdk.services.iottwinmaker.WorkspaceReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<WorkspaceReference>
- Enclosing interface:
WorkspaceReference
@Stability(Stable)
public static final class WorkspaceReference.Builder
extends Object
implements software.amazon.jsii.Builder<WorkspaceReference>
A builder for
WorkspaceReference
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.workspaceArn
(String workspaceArn) Sets the value ofWorkspaceReference.getWorkspaceArn()
workspaceId
(String workspaceId) Sets the value ofWorkspaceReference.getWorkspaceId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
workspaceArn
Sets the value ofWorkspaceReference.getWorkspaceArn()
- Parameters:
workspaceArn
- The ARN of the Workspace resource. This parameter is required.- Returns:
this
-
workspaceId
Sets the value ofWorkspaceReference.getWorkspaceId()
- Parameters:
workspaceId
- The WorkspaceId of the Workspace resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<WorkspaceReference>
- Returns:
- a new instance of
WorkspaceReference
- Throws:
NullPointerException
- if any required attribute was not provided
-