Class CfnStackProps.Builder
java.lang.Object
software.amazon.awscdk.services.appstream.CfnStackProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnStackProps>
- Enclosing interface:
CfnStackProps
@Stability(Stable)
public static final class CfnStackProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnStackProps>
A builder for
CfnStackProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaccessEndpoints
(List<? extends Object> accessEndpoints) Sets the value ofCfnStackProps.getAccessEndpoints()
accessEndpoints
(IResolvable accessEndpoints) Sets the value ofCfnStackProps.getAccessEndpoints()
applicationSettings
(IResolvable applicationSettings) Sets the value ofCfnStackProps.getApplicationSettings()
applicationSettings
(CfnStack.ApplicationSettingsProperty applicationSettings) Sets the value ofCfnStackProps.getApplicationSettings()
attributesToDelete
(List<String> attributesToDelete) Sets the value ofCfnStackProps.getAttributesToDelete()
build()
Builds the configured instance.deleteStorageConnectors
(Boolean deleteStorageConnectors) Sets the value ofCfnStackProps.getDeleteStorageConnectors()
deleteStorageConnectors
(IResolvable deleteStorageConnectors) Sets the value ofCfnStackProps.getDeleteStorageConnectors()
description
(String description) Sets the value ofCfnStackProps.getDescription()
displayName
(String displayName) Sets the value ofCfnStackProps.getDisplayName()
embedHostDomains
(List<String> embedHostDomains) Sets the value ofCfnStackProps.getEmbedHostDomains()
feedbackUrl
(String feedbackUrl) Sets the value ofCfnStackProps.getFeedbackUrl()
Sets the value ofCfnStackProps.getName()
redirectUrl
(String redirectUrl) Sets the value ofCfnStackProps.getRedirectUrl()
storageConnectors
(List<? extends Object> storageConnectors) Sets the value ofCfnStackProps.getStorageConnectors()
storageConnectors
(IResolvable storageConnectors) Sets the value ofCfnStackProps.getStorageConnectors()
streamingExperienceSettings
(IResolvable streamingExperienceSettings) Sets the value ofCfnStackProps.getStreamingExperienceSettings()
streamingExperienceSettings
(CfnStack.StreamingExperienceSettingsProperty streamingExperienceSettings) Sets the value ofCfnStackProps.getStreamingExperienceSettings()
Sets the value ofCfnStackProps.getTags()
userSettings
(List<? extends Object> userSettings) Sets the value ofCfnStackProps.getUserSettings()
userSettings
(IResolvable userSettings) Sets the value ofCfnStackProps.getUserSettings()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
accessEndpoints
Sets the value ofCfnStackProps.getAccessEndpoints()
- Parameters:
accessEndpoints
- The list of virtual private cloud (VPC) interface endpoint objects. Users of the stack can connect to AppStream 2.0 only through the specified endpoints.- Returns:
this
-
accessEndpoints
@Stability(Stable) public CfnStackProps.Builder accessEndpoints(List<? extends Object> accessEndpoints) Sets the value ofCfnStackProps.getAccessEndpoints()
- Parameters:
accessEndpoints
- The list of virtual private cloud (VPC) interface endpoint objects. Users of the stack can connect to AppStream 2.0 only through the specified endpoints.- Returns:
this
-
applicationSettings
@Stability(Stable) public CfnStackProps.Builder applicationSettings(IResolvable applicationSettings) Sets the value ofCfnStackProps.getApplicationSettings()
- Parameters:
applicationSettings
- The persistent application settings for users of the stack. When these settings are enabled, changes that users make to applications and Windows settings are automatically saved after each session and applied to the next session.- Returns:
this
-
applicationSettings
@Stability(Stable) public CfnStackProps.Builder applicationSettings(CfnStack.ApplicationSettingsProperty applicationSettings) Sets the value ofCfnStackProps.getApplicationSettings()
- Parameters:
applicationSettings
- The persistent application settings for users of the stack. When these settings are enabled, changes that users make to applications and Windows settings are automatically saved after each session and applied to the next session.- Returns:
this
-
attributesToDelete
Sets the value ofCfnStackProps.getAttributesToDelete()
- Parameters:
attributesToDelete
- The stack attributes to delete.- Returns:
this
-
deleteStorageConnectors
@Stability(Stable) public CfnStackProps.Builder deleteStorageConnectors(Boolean deleteStorageConnectors) Sets the value ofCfnStackProps.getDeleteStorageConnectors()
- Parameters:
deleteStorageConnectors
- This parameter has been deprecated.. Deletes the storage connectors currently enabled for the stack.- Returns:
this
-
deleteStorageConnectors
@Stability(Stable) public CfnStackProps.Builder deleteStorageConnectors(IResolvable deleteStorageConnectors) Sets the value ofCfnStackProps.getDeleteStorageConnectors()
- Parameters:
deleteStorageConnectors
- This parameter has been deprecated.. Deletes the storage connectors currently enabled for the stack.- Returns:
this
-
description
Sets the value ofCfnStackProps.getDescription()
- Parameters:
description
- The description to display.- Returns:
this
-
displayName
Sets the value ofCfnStackProps.getDisplayName()
- Parameters:
displayName
- The stack name to display.- Returns:
this
-
embedHostDomains
Sets the value ofCfnStackProps.getEmbedHostDomains()
- Parameters:
embedHostDomains
- The domains where AppStream 2.0 streaming sessions can be embedded in an iframe. You must approve the domains that you want to host embedded AppStream 2.0 streaming sessions.- Returns:
this
-
feedbackUrl
Sets the value ofCfnStackProps.getFeedbackUrl()
- Parameters:
feedbackUrl
- The URL that users are redirected to after they click the Send Feedback link. If no URL is specified, no Send Feedback link is displayed.- Returns:
this
-
name
Sets the value ofCfnStackProps.getName()
- Parameters:
name
- The name of the stack.- Returns:
this
-
redirectUrl
Sets the value ofCfnStackProps.getRedirectUrl()
- Parameters:
redirectUrl
- The URL that users are redirected to after their streaming session ends.- Returns:
this
-
storageConnectors
Sets the value ofCfnStackProps.getStorageConnectors()
- Parameters:
storageConnectors
- The storage connectors to enable.- Returns:
this
-
storageConnectors
@Stability(Stable) public CfnStackProps.Builder storageConnectors(List<? extends Object> storageConnectors) Sets the value ofCfnStackProps.getStorageConnectors()
- Parameters:
storageConnectors
- The storage connectors to enable.- Returns:
this
-
streamingExperienceSettings
@Stability(Stable) public CfnStackProps.Builder streamingExperienceSettings(IResolvable streamingExperienceSettings) Sets the value ofCfnStackProps.getStreamingExperienceSettings()
- Parameters:
streamingExperienceSettings
- The streaming protocol that you want your stack to prefer. This can be UDP or TCP. Currently, UDP is only supported in the Windows native client.- Returns:
this
-
streamingExperienceSettings
@Stability(Stable) public CfnStackProps.Builder streamingExperienceSettings(CfnStack.StreamingExperienceSettingsProperty streamingExperienceSettings) Sets the value ofCfnStackProps.getStreamingExperienceSettings()
- Parameters:
streamingExperienceSettings
- The streaming protocol that you want your stack to prefer. This can be UDP or TCP. Currently, UDP is only supported in the Windows native client.- Returns:
this
-
tags
Sets the value ofCfnStackProps.getTags()
- Parameters:
tags
- An array of key-value pairs.- Returns:
this
-
userSettings
Sets the value ofCfnStackProps.getUserSettings()
- Parameters:
userSettings
- The actions that are enabled or disabled for users during their streaming sessions. By default, these actions are enabled.- Returns:
this
-
userSettings
Sets the value ofCfnStackProps.getUserSettings()
- Parameters:
userSettings
- The actions that are enabled or disabled for users during their streaming sessions. By default, these actions are enabled.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnStackProps>
- Returns:
- a new instance of
CfnStackProps
- Throws:
NullPointerException
- if any required attribute was not provided
-