Class WorkspaceReference.Builder
java.lang.Object
software.amazon.awscdk.interfaces.aps.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()
-
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
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<WorkspaceReference>- Returns:
- a new instance of
WorkspaceReference - Throws:
NullPointerException- if any required attribute was not provided
-