Class CfnWorkspacesPoolProps.Builder
java.lang.Object
software.amazon.awscdk.services.workspaces.CfnWorkspacesPoolProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnWorkspacesPoolProps>
- Enclosing interface:
CfnWorkspacesPoolProps
@Stability(Stable)
public static final class CfnWorkspacesPoolProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnWorkspacesPoolProps>
A builder for
CfnWorkspacesPoolProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionapplicationSettings
(IResolvable applicationSettings) Sets the value ofCfnWorkspacesPoolProps.getApplicationSettings()
applicationSettings
(CfnWorkspacesPool.ApplicationSettingsProperty applicationSettings) Sets the value ofCfnWorkspacesPoolProps.getApplicationSettings()
build()
Builds the configured instance.Sets the value ofCfnWorkspacesPoolProps.getBundleId()
capacity
(IResolvable capacity) Sets the value ofCfnWorkspacesPoolProps.getCapacity()
capacity
(CfnWorkspacesPool.CapacityProperty capacity) Sets the value ofCfnWorkspacesPoolProps.getCapacity()
description
(String description) Sets the value ofCfnWorkspacesPoolProps.getDescription()
directoryId
(String directoryId) Sets the value ofCfnWorkspacesPoolProps.getDirectoryId()
Sets the value ofCfnWorkspacesPoolProps.getPoolName()
Sets the value ofCfnWorkspacesPoolProps.getTags()
timeoutSettings
(IResolvable timeoutSettings) Sets the value ofCfnWorkspacesPoolProps.getTimeoutSettings()
timeoutSettings
(CfnWorkspacesPool.TimeoutSettingsProperty timeoutSettings) Sets the value ofCfnWorkspacesPoolProps.getTimeoutSettings()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
bundleId
Sets the value ofCfnWorkspacesPoolProps.getBundleId()
- Parameters:
bundleId
- The identifier of the bundle used by the pool. This parameter is required.- Returns:
this
-
capacity
Sets the value ofCfnWorkspacesPoolProps.getCapacity()
- Parameters:
capacity
- Describes the user capacity for the pool. This parameter is required.- Returns:
this
-
capacity
@Stability(Stable) public CfnWorkspacesPoolProps.Builder capacity(CfnWorkspacesPool.CapacityProperty capacity) Sets the value ofCfnWorkspacesPoolProps.getCapacity()
- Parameters:
capacity
- Describes the user capacity for the pool. This parameter is required.- Returns:
this
-
directoryId
Sets the value ofCfnWorkspacesPoolProps.getDirectoryId()
- Parameters:
directoryId
- The identifier of the directory used by the pool. This parameter is required.- Returns:
this
-
poolName
Sets the value ofCfnWorkspacesPoolProps.getPoolName()
- Parameters:
poolName
- The name of the pool. This parameter is required.- Returns:
this
-
applicationSettings
@Stability(Stable) public CfnWorkspacesPoolProps.Builder applicationSettings(IResolvable applicationSettings) Sets the value ofCfnWorkspacesPoolProps.getApplicationSettings()
- Parameters:
applicationSettings
- The persistent application settings for users of the pool.- Returns:
this
-
applicationSettings
@Stability(Stable) public CfnWorkspacesPoolProps.Builder applicationSettings(CfnWorkspacesPool.ApplicationSettingsProperty applicationSettings) Sets the value ofCfnWorkspacesPoolProps.getApplicationSettings()
- Parameters:
applicationSettings
- The persistent application settings for users of the pool.- Returns:
this
-
description
Sets the value ofCfnWorkspacesPoolProps.getDescription()
- Parameters:
description
- The description of the pool.- Returns:
this
-
tags
Sets the value ofCfnWorkspacesPoolProps.getTags()
- Parameters:
tags
- The tags for the pool.- Returns:
this
-
timeoutSettings
@Stability(Stable) public CfnWorkspacesPoolProps.Builder timeoutSettings(IResolvable timeoutSettings) Sets the value ofCfnWorkspacesPoolProps.getTimeoutSettings()
- 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:
this
-
timeoutSettings
@Stability(Stable) public CfnWorkspacesPoolProps.Builder timeoutSettings(CfnWorkspacesPool.TimeoutSettingsProperty timeoutSettings) Sets the value ofCfnWorkspacesPoolProps.getTimeoutSettings()
- 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:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnWorkspacesPoolProps>
- Returns:
- a new instance of
CfnWorkspacesPoolProps
- Throws:
NullPointerException
- if any required attribute was not provided
-