Class CfnStackMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.appstream.CfnStackMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnStackMixinProps>
- Enclosing interface:
CfnStackMixinProps
@Stability(Stable)
public static final class CfnStackMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnStackMixinProps>
A builder for
CfnStackMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaccessEndpoints(List<? extends Object> accessEndpoints) Sets the value ofCfnStackMixinProps.getAccessEndpoints()accessEndpoints(IResolvable accessEndpoints) Sets the value ofCfnStackMixinProps.getAccessEndpoints()applicationSettings(CfnStackPropsMixin.ApplicationSettingsProperty applicationSettings) Sets the value ofCfnStackMixinProps.getApplicationSettings()applicationSettings(IResolvable applicationSettings) Sets the value ofCfnStackMixinProps.getApplicationSettings()attributesToDelete(List<String> attributesToDelete) Sets the value ofCfnStackMixinProps.getAttributesToDelete()build()Builds the configured instance.deleteStorageConnectors(Boolean deleteStorageConnectors) Sets the value ofCfnStackMixinProps.getDeleteStorageConnectors()deleteStorageConnectors(IResolvable deleteStorageConnectors) Sets the value ofCfnStackMixinProps.getDeleteStorageConnectors()description(String description) Sets the value ofCfnStackMixinProps.getDescription()displayName(String displayName) Sets the value ofCfnStackMixinProps.getDisplayName()embedHostDomains(List<String> embedHostDomains) Sets the value ofCfnStackMixinProps.getEmbedHostDomains()feedbackUrl(String feedbackUrl) Sets the value ofCfnStackMixinProps.getFeedbackUrl()Sets the value ofCfnStackMixinProps.getName()redirectUrl(String redirectUrl) Sets the value ofCfnStackMixinProps.getRedirectUrl()storageConnectors(List<? extends Object> storageConnectors) Sets the value ofCfnStackMixinProps.getStorageConnectors()storageConnectors(IResolvable storageConnectors) Sets the value ofCfnStackMixinProps.getStorageConnectors()streamingExperienceSettings(CfnStackPropsMixin.StreamingExperienceSettingsProperty streamingExperienceSettings) Sets the value ofCfnStackMixinProps.getStreamingExperienceSettings()streamingExperienceSettings(IResolvable streamingExperienceSettings) Sets the value ofCfnStackMixinProps.getStreamingExperienceSettings()Sets the value ofCfnStackMixinProps.getTags()userSettings(List<? extends Object> userSettings) Sets the value ofCfnStackMixinProps.getUserSettings()userSettings(IResolvable userSettings) Sets the value ofCfnStackMixinProps.getUserSettings()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
accessEndpoints
Sets the value ofCfnStackMixinProps.getAccessEndpoints()- Parameters:
accessEndpoints- The list of virtual private cloud (VPC) interface endpoint objects. Users of the stack can connect to WorkSpaces Applications only through the specified endpoints.- Returns:
this
-
accessEndpoints
@Stability(Stable) public CfnStackMixinProps.Builder accessEndpoints(List<? extends Object> accessEndpoints) Sets the value ofCfnStackMixinProps.getAccessEndpoints()- Parameters:
accessEndpoints- The list of virtual private cloud (VPC) interface endpoint objects. Users of the stack can connect to WorkSpaces Applications only through the specified endpoints.- Returns:
this
-
applicationSettings
@Stability(Stable) public CfnStackMixinProps.Builder applicationSettings(IResolvable applicationSettings) Sets the value ofCfnStackMixinProps.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 CfnStackMixinProps.Builder applicationSettings(CfnStackPropsMixin.ApplicationSettingsProperty applicationSettings) Sets the value ofCfnStackMixinProps.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
@Stability(Stable) public CfnStackMixinProps.Builder attributesToDelete(List<String> attributesToDelete) Sets the value ofCfnStackMixinProps.getAttributesToDelete()- Parameters:
attributesToDelete- The stack attributes to delete.- Returns:
this
-
deleteStorageConnectors
@Stability(Stable) public CfnStackMixinProps.Builder deleteStorageConnectors(Boolean deleteStorageConnectors) Sets the value ofCfnStackMixinProps.getDeleteStorageConnectors()- Parameters:
deleteStorageConnectors- This parameter has been deprecated.. Deletes the storage connectors currently enabled for the stack.- Returns:
this
-
deleteStorageConnectors
@Stability(Stable) public CfnStackMixinProps.Builder deleteStorageConnectors(IResolvable deleteStorageConnectors) Sets the value ofCfnStackMixinProps.getDeleteStorageConnectors()- Parameters:
deleteStorageConnectors- This parameter has been deprecated.. Deletes the storage connectors currently enabled for the stack.- Returns:
this
-
description
Sets the value ofCfnStackMixinProps.getDescription()- Parameters:
description- The description to display.- Returns:
this
-
displayName
Sets the value ofCfnStackMixinProps.getDisplayName()- Parameters:
displayName- The stack name to display.- Returns:
this
-
embedHostDomains
@Stability(Stable) public CfnStackMixinProps.Builder embedHostDomains(List<String> embedHostDomains) Sets the value ofCfnStackMixinProps.getEmbedHostDomains()- Parameters:
embedHostDomains- The domains where WorkSpaces Applications streaming sessions can be embedded in an iframe. You must approve the domains that you want to host embedded WorkSpaces Applications streaming sessions.- Returns:
this
-
feedbackUrl
Sets the value ofCfnStackMixinProps.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 ofCfnStackMixinProps.getName()- Parameters:
name- The name of the stack.- Returns:
this
-
redirectUrl
Sets the value ofCfnStackMixinProps.getRedirectUrl()- Parameters:
redirectUrl- The URL that users are redirected to after their streaming session ends.- Returns:
this
-
storageConnectors
@Stability(Stable) public CfnStackMixinProps.Builder storageConnectors(IResolvable storageConnectors) Sets the value ofCfnStackMixinProps.getStorageConnectors()- Parameters:
storageConnectors- The storage connectors to enable.- Returns:
this
-
storageConnectors
@Stability(Stable) public CfnStackMixinProps.Builder storageConnectors(List<? extends Object> storageConnectors) Sets the value ofCfnStackMixinProps.getStorageConnectors()- Parameters:
storageConnectors- The storage connectors to enable.- Returns:
this
-
streamingExperienceSettings
@Stability(Stable) public CfnStackMixinProps.Builder streamingExperienceSettings(IResolvable streamingExperienceSettings) Sets the value ofCfnStackMixinProps.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 CfnStackMixinProps.Builder streamingExperienceSettings(CfnStackPropsMixin.StreamingExperienceSettingsProperty streamingExperienceSettings) Sets the value ofCfnStackMixinProps.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 ofCfnStackMixinProps.getTags()- Parameters:
tags- An array of key-value pairs.- Returns:
this
-
userSettings
Sets the value ofCfnStackMixinProps.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
@Stability(Stable) public CfnStackMixinProps.Builder userSettings(List<? extends Object> userSettings) Sets the value ofCfnStackMixinProps.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:
buildin interfacesoftware.amazon.jsii.Builder<CfnStackMixinProps>- Returns:
- a new instance of
CfnStackMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-