Interface WorkspacesPool.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<WorkspacesPool.Builder,
,WorkspacesPool> SdkBuilder<WorkspacesPool.Builder,
,WorkspacesPool> SdkPojo
- Enclosing class:
WorkspacesPool
-
Method Summary
Modifier and TypeMethodDescriptiondefault WorkspacesPool.Builder
applicationSettings
(Consumer<ApplicationSettingsResponse.Builder> applicationSettings) The persistent application settings for users of the pool.applicationSettings
(ApplicationSettingsResponse applicationSettings) The persistent application settings for users of the pool.The identifier of the bundle used by the pool.default WorkspacesPool.Builder
capacityStatus
(Consumer<CapacityStatus.Builder> capacityStatus) The capacity status for the poolcapacityStatus
(CapacityStatus capacityStatus) The capacity status for the poolThe time the pool was created.description
(String description) The description of the pool.directoryId
(String directoryId) The identifier of the directory used by the pool.errors
(Collection<WorkspacesPoolError> errors) The pool errors.errors
(Consumer<WorkspacesPoolError.Builder>... errors) The pool errors.errors
(WorkspacesPoolError... errors) The pool errors.The Amazon Resource Name (ARN) for the pool.The identifier of a pool.The name of the pool.runningMode
(String runningMode) The running mode of the pool.runningMode
(PoolsRunningMode runningMode) The running mode of the pool.The current state of the pool.state
(WorkspacesPoolState state) The current state of the pool.default WorkspacesPool.Builder
timeoutSettings
(Consumer<TimeoutSettings.Builder> timeoutSettings) The amount of time that a pool session remains active after users disconnect.timeoutSettings
(TimeoutSettings timeoutSettings) The amount of time that a pool session remains active after users disconnect.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
poolId
The identifier of a pool.
- Parameters:
poolId
- The identifier of a pool.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
poolArn
The Amazon Resource Name (ARN) for the pool.
- Parameters:
poolArn
- The Amazon Resource Name (ARN) for the pool.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
capacityStatus
The capacity status for the pool
- Parameters:
capacityStatus
- The capacity status for the pool- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
capacityStatus
The capacity status for the pool
This is a convenience method that creates an instance of theCapacityStatus.Builder
avoiding the need to create one manually viaCapacityStatus.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocapacityStatus(CapacityStatus)
.- Parameters:
capacityStatus
- a consumer that will call methods onCapacityStatus.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
poolName
The name of the pool.
- Parameters:
poolName
- The name of the pool.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The description of the pool.
- Parameters:
description
- The description of the pool.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
state
The current state of the pool.
- Parameters:
state
- The current state of the pool.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
state
The current state of the pool.
- Parameters:
state
- The current state of the pool.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
createdAt
The time the pool was created.
- Parameters:
createdAt
- The time the pool was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
bundleId
The identifier of the bundle used by the pool.
- Parameters:
bundleId
- The identifier of the bundle used by the pool.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
directoryId
The identifier of the directory used by the pool.
- Parameters:
directoryId
- The identifier of the directory used by the pool.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errors
The pool errors.
- Parameters:
errors
- The pool errors.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errors
The pool errors.
- Parameters:
errors
- The pool errors.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errors
The pool errors.
This is a convenience method that creates an instance of theWorkspacesPoolError.Builder
avoiding the need to create one manually viaWorkspacesPoolError.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toerrors(List<WorkspacesPoolError>)
.- Parameters:
errors
- a consumer that will call methods onWorkspacesPoolError.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
applicationSettings
The persistent application settings for users of the pool.
- Parameters:
applicationSettings
- The persistent application settings for users of the pool.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
applicationSettings
default WorkspacesPool.Builder applicationSettings(Consumer<ApplicationSettingsResponse.Builder> applicationSettings) The persistent application settings for users of the pool.
This is a convenience method that creates an instance of theApplicationSettingsResponse.Builder
avoiding the need to create one manually viaApplicationSettingsResponse.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toapplicationSettings(ApplicationSettingsResponse)
.- Parameters:
applicationSettings
- a consumer that will call methods onApplicationSettingsResponse.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
timeoutSettings
The amount of time that a pool session remains active after users disconnect. If they try to reconnect to the pool session after a disconnection or network interruption within this time interval, they are connected to their previous session. Otherwise, they are connected to a new session with a new pool instance.
- Parameters:
timeoutSettings
- The amount of time that a pool session remains active after users disconnect. If they try to reconnect to the pool session after a disconnection or network interruption within this time interval, they are connected to their previous session. Otherwise, they are connected to a new session with a new pool instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
timeoutSettings
The amount of time that a pool session remains active after users disconnect. If they try to reconnect to the pool session after a disconnection or network interruption within this time interval, they are connected to their previous session. Otherwise, they are connected to a new session with a new pool instance.
This is a convenience method that creates an instance of theTimeoutSettings.Builder
avoiding the need to create one manually viaTimeoutSettings.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totimeoutSettings(TimeoutSettings)
.- Parameters:
timeoutSettings
- a consumer that will call methods onTimeoutSettings.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
runningMode
The running mode of the pool.
- Parameters:
runningMode
- The running mode of the pool.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
runningMode
The running mode of the pool.
- Parameters:
runningMode
- The running mode of the pool.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-