Class CfnStack.ApplicationSettingsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.appstream.CfnStack.ApplicationSettingsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnStack.ApplicationSettingsProperty>
- Enclosing interface:
- CfnStack.ApplicationSettingsProperty
@Stability(Stable)
public static final class CfnStack.ApplicationSettingsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnStack.ApplicationSettingsProperty>
A builder for
CfnStack.ApplicationSettingsProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnStack.ApplicationSettingsProperty.getEnabled()
enabled
(IResolvable enabled) Sets the value ofCfnStack.ApplicationSettingsProperty.getEnabled()
settingsGroup
(String settingsGroup) Sets the value ofCfnStack.ApplicationSettingsProperty.getSettingsGroup()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
enabled
Sets the value ofCfnStack.ApplicationSettingsProperty.getEnabled()
- Parameters:
enabled
- Enables or disables persistent application settings for users during their streaming sessions. This parameter is required.- Returns:
this
-
enabled
Sets the value ofCfnStack.ApplicationSettingsProperty.getEnabled()
- Parameters:
enabled
- Enables or disables persistent application settings for users during their streaming sessions. This parameter is required.- Returns:
this
-
settingsGroup
@Stability(Stable) public CfnStack.ApplicationSettingsProperty.Builder settingsGroup(String settingsGroup) Sets the value ofCfnStack.ApplicationSettingsProperty.getSettingsGroup()
- Parameters:
settingsGroup
- The path prefix for the S3 bucket where users’ persistent application settings are stored. You can allow the same persistent application settings to be used across multiple stacks by specifying the same settings group for each stack.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnStack.ApplicationSettingsProperty>
- Returns:
- a new instance of
CfnStack.ApplicationSettingsProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-