Class CfnWorkspacesPoolMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.workspaces.CfnWorkspacesPoolMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnWorkspacesPoolMixinProps>
- Enclosing interface:
CfnWorkspacesPoolMixinProps
@Stability(Stable)
public static final class CfnWorkspacesPoolMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnWorkspacesPoolMixinProps>
A builder for
CfnWorkspacesPoolMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapplicationSettings(CfnWorkspacesPoolPropsMixin.ApplicationSettingsProperty applicationSettings) Sets the value ofCfnWorkspacesPoolMixinProps.getApplicationSettings()applicationSettings(IResolvable applicationSettings) Sets the value ofCfnWorkspacesPoolMixinProps.getApplicationSettings()build()Builds the configured instance.Sets the value ofCfnWorkspacesPoolMixinProps.getBundleId()Sets the value ofCfnWorkspacesPoolMixinProps.getCapacity()capacity(IResolvable capacity) Sets the value ofCfnWorkspacesPoolMixinProps.getCapacity()description(String description) Sets the value ofCfnWorkspacesPoolMixinProps.getDescription()directoryId(String directoryId) Sets the value ofCfnWorkspacesPoolMixinProps.getDirectoryId()Sets the value ofCfnWorkspacesPoolMixinProps.getPoolName()runningMode(String runningMode) Sets the value ofCfnWorkspacesPoolMixinProps.getRunningMode()Deprecated.this property has been deprecatedtimeoutSettings(CfnWorkspacesPoolPropsMixin.TimeoutSettingsProperty timeoutSettings) Sets the value ofCfnWorkspacesPoolMixinProps.getTimeoutSettings()timeoutSettings(IResolvable timeoutSettings) Sets the value ofCfnWorkspacesPoolMixinProps.getTimeoutSettings()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
applicationSettings
@Stability(Stable) public CfnWorkspacesPoolMixinProps.Builder applicationSettings(IResolvable applicationSettings) Sets the value ofCfnWorkspacesPoolMixinProps.getApplicationSettings()- Parameters:
applicationSettings- The persistent application settings for users of the pool.- Returns:
this
-
applicationSettings
@Stability(Stable) public CfnWorkspacesPoolMixinProps.Builder applicationSettings(CfnWorkspacesPoolPropsMixin.ApplicationSettingsProperty applicationSettings) Sets the value ofCfnWorkspacesPoolMixinProps.getApplicationSettings()- Parameters:
applicationSettings- The persistent application settings for users of the pool.- Returns:
this
-
bundleId
Sets the value ofCfnWorkspacesPoolMixinProps.getBundleId()- Parameters:
bundleId- The identifier of the bundle used by the pool.- Returns:
this
-
capacity
Sets the value ofCfnWorkspacesPoolMixinProps.getCapacity()- Parameters:
capacity- Describes the user capacity for the pool.- Returns:
this
-
capacity
@Stability(Stable) public CfnWorkspacesPoolMixinProps.Builder capacity(CfnWorkspacesPoolPropsMixin.CapacityProperty capacity) Sets the value ofCfnWorkspacesPoolMixinProps.getCapacity()- Parameters:
capacity- Describes the user capacity for the pool.- Returns:
this
-
description
Sets the value ofCfnWorkspacesPoolMixinProps.getDescription()- Parameters:
description- The description of the pool.- Returns:
this
-
directoryId
Sets the value ofCfnWorkspacesPoolMixinProps.getDirectoryId()- Parameters:
directoryId- The identifier of the directory used by the pool.- Returns:
this
-
poolName
Sets the value ofCfnWorkspacesPoolMixinProps.getPoolName()- Parameters:
poolName- The name of the pool.- Returns:
this
-
runningMode
Sets the value ofCfnWorkspacesPoolMixinProps.getRunningMode()- Parameters:
runningMode- The running mode of the pool.- Returns:
this
-
tags
@Stability(Deprecated) @Deprecated public CfnWorkspacesPoolMixinProps.Builder tags(List<? extends CfnTag> tags) Deprecated.this property has been deprecatedSets the value ofCfnWorkspacesPoolMixinProps.getTags()- Parameters:
tags- the value to be set.- Returns:
this
-
timeoutSettings
@Stability(Stable) public CfnWorkspacesPoolMixinProps.Builder timeoutSettings(IResolvable timeoutSettings) Sets the value ofCfnWorkspacesPoolMixinProps.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 CfnWorkspacesPoolMixinProps.Builder timeoutSettings(CfnWorkspacesPoolPropsMixin.TimeoutSettingsProperty timeoutSettings) Sets the value ofCfnWorkspacesPoolMixinProps.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:
buildin interfacesoftware.amazon.jsii.Builder<CfnWorkspacesPoolMixinProps>- Returns:
- a new instance of
CfnWorkspacesPoolMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-