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