Interface WorkspacesPool.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<WorkspacesPool.Builder,WorkspacesPool>,SdkBuilder<WorkspacesPool.Builder,WorkspacesPool>,SdkPojo
- Enclosing class:
- WorkspacesPool
public static interface WorkspacesPool.Builder extends SdkPojo, CopyableBuilder<WorkspacesPool.Builder,WorkspacesPool>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default WorkspacesPool.BuilderapplicationSettings(Consumer<ApplicationSettingsResponse.Builder> applicationSettings)The persistent application settings for users of the pool.WorkspacesPool.BuilderapplicationSettings(ApplicationSettingsResponse applicationSettings)The persistent application settings for users of the pool.WorkspacesPool.BuilderbundleId(String bundleId)The identifier of the bundle used by the pool.default WorkspacesPool.BuildercapacityStatus(Consumer<CapacityStatus.Builder> capacityStatus)The capacity status for the poolWorkspacesPool.BuildercapacityStatus(CapacityStatus capacityStatus)The capacity status for the poolWorkspacesPool.BuildercreatedAt(Instant createdAt)The time the pool was created.WorkspacesPool.Builderdescription(String description)The description of the pool.WorkspacesPool.BuilderdirectoryId(String directoryId)The identifier of the directory used by the pool.WorkspacesPool.Buildererrors(Collection<WorkspacesPoolError> errors)The pool errors.WorkspacesPool.Buildererrors(Consumer<WorkspacesPoolError.Builder>... errors)The pool errors.WorkspacesPool.Buildererrors(WorkspacesPoolError... errors)The pool errors.WorkspacesPool.BuilderpoolArn(String poolArn)The Amazon Resource Name (ARN) for the pool.WorkspacesPool.BuilderpoolId(String poolId)The identifier of a pool.WorkspacesPool.BuilderpoolName(String poolName)The name of the pool,WorkspacesPool.Builderstate(String state)The current state of the pool.WorkspacesPool.Builderstate(WorkspacesPoolState state)The current state of the pool.default WorkspacesPool.BuildertimeoutSettings(Consumer<TimeoutSettings.Builder> timeoutSettings)The amount of time that a pool session remains active after users disconnect.WorkspacesPool.BuildertimeoutSettings(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 Detail
-
poolId
WorkspacesPool.Builder poolId(String 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
WorkspacesPool.Builder poolArn(String 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
WorkspacesPool.Builder capacityStatus(CapacityStatus 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
default WorkspacesPool.Builder capacityStatus(Consumer<CapacityStatus.Builder> capacityStatus)
The capacity status for the pool
This is a convenience method that creates an instance of theCapacityStatus.Builderavoiding the need to create one manually viaCapacityStatus.builder().When the
Consumercompletes,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:
capacityStatus(CapacityStatus)
-
poolName
WorkspacesPool.Builder poolName(String 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
WorkspacesPool.Builder description(String 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
WorkspacesPool.Builder state(String 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:
WorkspacesPoolState,WorkspacesPoolState
-
state
WorkspacesPool.Builder state(WorkspacesPoolState 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:
WorkspacesPoolState,WorkspacesPoolState
-
createdAt
WorkspacesPool.Builder createdAt(Instant 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
WorkspacesPool.Builder bundleId(String 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
WorkspacesPool.Builder directoryId(String 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
WorkspacesPool.Builder errors(Collection<WorkspacesPoolError> 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
WorkspacesPool.Builder errors(WorkspacesPoolError... 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
WorkspacesPool.Builder errors(Consumer<WorkspacesPoolError.Builder>... errors)
The pool errors.
This is a convenience method that creates an instance of theWorkspacesPoolError.Builderavoiding the need to create one manually viaWorkspacesPoolError.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#errors(List.) - 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:
#errors(java.util.Collection)
-
applicationSettings
WorkspacesPool.Builder applicationSettings(ApplicationSettingsResponse 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.Builderavoiding the need to create one manually viaApplicationSettingsResponse.builder().When the
Consumercompletes,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:
applicationSettings(ApplicationSettingsResponse)
-
timeoutSettings
WorkspacesPool.Builder timeoutSettings(TimeoutSettings 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
default WorkspacesPool.Builder timeoutSettings(Consumer<TimeoutSettings.Builder> 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.Builderavoiding the need to create one manually viaTimeoutSettings.builder().When the
Consumercompletes,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:
timeoutSettings(TimeoutSettings)
-
-