Class CfnLaunchProfilePropsMixin.StreamConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.nimblestudio.CfnLaunchProfilePropsMixin.StreamConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnLaunchProfilePropsMixin.StreamConfigurationProperty>
- Enclosing interface:
CfnLaunchProfilePropsMixin.StreamConfigurationProperty
@Stability(Stable)
public static final class CfnLaunchProfilePropsMixin.StreamConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnLaunchProfilePropsMixin.StreamConfigurationProperty>
A builder for
CfnLaunchProfilePropsMixin.StreamConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionautomaticTerminationMode(String automaticTerminationMode) build()Builds the configured instance.clipboardMode(String clipboardMode) ec2InstanceTypes(List<String> ec2InstanceTypes) maxSessionLengthInMinutes(Number maxSessionLengthInMinutes) maxStoppedSessionLengthInMinutes(Number maxStoppedSessionLengthInMinutes) sessionBackup(IResolvable sessionBackup) sessionPersistenceMode(String sessionPersistenceMode) sessionStorage(IResolvable sessionStorage) streamingImageIds(List<String> streamingImageIds) volumeConfiguration(CfnLaunchProfilePropsMixin.VolumeConfigurationProperty volumeConfiguration) volumeConfiguration(IResolvable volumeConfiguration)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
automaticTerminationMode
@Stability(Stable) public CfnLaunchProfilePropsMixin.StreamConfigurationProperty.Builder automaticTerminationMode(String automaticTerminationMode) Sets the value ofCfnLaunchProfilePropsMixin.StreamConfigurationProperty.getAutomaticTerminationMode()- Parameters:
automaticTerminationMode- the value to be set.- Returns:
this
-
clipboardMode
@Stability(Stable) public CfnLaunchProfilePropsMixin.StreamConfigurationProperty.Builder clipboardMode(String clipboardMode) - Parameters:
clipboardMode- the value to be set.- Returns:
this
-
ec2InstanceTypes
@Stability(Stable) public CfnLaunchProfilePropsMixin.StreamConfigurationProperty.Builder ec2InstanceTypes(List<String> ec2InstanceTypes) - Parameters:
ec2InstanceTypes- the value to be set.- Returns:
this
-
maxSessionLengthInMinutes
@Stability(Stable) public CfnLaunchProfilePropsMixin.StreamConfigurationProperty.Builder maxSessionLengthInMinutes(Number maxSessionLengthInMinutes) Sets the value ofCfnLaunchProfilePropsMixin.StreamConfigurationProperty.getMaxSessionLengthInMinutes()- Parameters:
maxSessionLengthInMinutes- the value to be set.- Returns:
this
-
maxStoppedSessionLengthInMinutes
@Stability(Stable) public CfnLaunchProfilePropsMixin.StreamConfigurationProperty.Builder maxStoppedSessionLengthInMinutes(Number maxStoppedSessionLengthInMinutes) Sets the value ofCfnLaunchProfilePropsMixin.StreamConfigurationProperty.getMaxStoppedSessionLengthInMinutes()- Parameters:
maxStoppedSessionLengthInMinutes- the value to be set.- Returns:
this
-
sessionBackup
@Stability(Stable) public CfnLaunchProfilePropsMixin.StreamConfigurationProperty.Builder sessionBackup(IResolvable sessionBackup) - Parameters:
sessionBackup- the value to be set.- Returns:
this
-
sessionBackup
@Stability(Stable) public CfnLaunchProfilePropsMixin.StreamConfigurationProperty.Builder sessionBackup(CfnLaunchProfilePropsMixin.StreamConfigurationSessionBackupProperty sessionBackup) - Parameters:
sessionBackup- the value to be set.- Returns:
this
-
sessionPersistenceMode
@Stability(Stable) public CfnLaunchProfilePropsMixin.StreamConfigurationProperty.Builder sessionPersistenceMode(String sessionPersistenceMode) Sets the value ofCfnLaunchProfilePropsMixin.StreamConfigurationProperty.getSessionPersistenceMode()- Parameters:
sessionPersistenceMode- the value to be set.- Returns:
this
-
sessionStorage
@Stability(Stable) public CfnLaunchProfilePropsMixin.StreamConfigurationProperty.Builder sessionStorage(IResolvable sessionStorage) - Parameters:
sessionStorage- the value to be set.- Returns:
this
-
sessionStorage
@Stability(Stable) public CfnLaunchProfilePropsMixin.StreamConfigurationProperty.Builder sessionStorage(CfnLaunchProfilePropsMixin.StreamConfigurationSessionStorageProperty sessionStorage) - Parameters:
sessionStorage- the value to be set.- Returns:
this
-
streamingImageIds
@Stability(Stable) public CfnLaunchProfilePropsMixin.StreamConfigurationProperty.Builder streamingImageIds(List<String> streamingImageIds) - Parameters:
streamingImageIds- the value to be set.- Returns:
this
-
volumeConfiguration
@Stability(Stable) public CfnLaunchProfilePropsMixin.StreamConfigurationProperty.Builder volumeConfiguration(IResolvable volumeConfiguration) - Parameters:
volumeConfiguration- the value to be set.- Returns:
this
-
volumeConfiguration
@Stability(Stable) public CfnLaunchProfilePropsMixin.StreamConfigurationProperty.Builder volumeConfiguration(CfnLaunchProfilePropsMixin.VolumeConfigurationProperty volumeConfiguration) - Parameters:
volumeConfiguration- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnLaunchProfilePropsMixin.StreamConfigurationProperty>- Returns:
- a new instance of
CfnLaunchProfilePropsMixin.StreamConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-