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