public static final class CfnStackProps.Builder
extends java.lang.Object
CfnStackProps
Constructor and Description |
---|
Builder() |
public CfnStackProps.Builder accessEndpoints(IResolvable accessEndpoints)
CfnStackProps.getAccessEndpoints()
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.this
public CfnStackProps.Builder accessEndpoints(java.util.List<? extends java.lang.Object> accessEndpoints)
CfnStackProps.getAccessEndpoints()
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.this
public CfnStackProps.Builder applicationSettings(IResolvable applicationSettings)
CfnStackProps.getApplicationSettings()
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.this
public CfnStackProps.Builder applicationSettings(CfnStack.ApplicationSettingsProperty applicationSettings)
CfnStackProps.getApplicationSettings()
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.this
public CfnStackProps.Builder attributesToDelete(java.util.List<java.lang.String> attributesToDelete)
CfnStackProps.getAttributesToDelete()
attributesToDelete
- The stack attributes to delete.this
public CfnStackProps.Builder deleteStorageConnectors(java.lang.Boolean deleteStorageConnectors)
CfnStackProps.getDeleteStorageConnectors()
deleteStorageConnectors
- *This parameter has been deprecated.*.
Deletes the storage connectors currently enabled for the stack.this
public CfnStackProps.Builder deleteStorageConnectors(IResolvable deleteStorageConnectors)
CfnStackProps.getDeleteStorageConnectors()
deleteStorageConnectors
- *This parameter has been deprecated.*.
Deletes the storage connectors currently enabled for the stack.this
public CfnStackProps.Builder description(java.lang.String description)
CfnStackProps.getDescription()
description
- The description to display.this
public CfnStackProps.Builder displayName(java.lang.String displayName)
CfnStackProps.getDisplayName()
displayName
- The stack name to display.this
public CfnStackProps.Builder embedHostDomains(java.util.List<java.lang.String> embedHostDomains)
CfnStackProps.getEmbedHostDomains()
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.this
public CfnStackProps.Builder feedbackUrl(java.lang.String feedbackUrl)
CfnStackProps.getFeedbackUrl()
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.this
public CfnStackProps.Builder name(java.lang.String name)
CfnStackProps.getName()
name
- The name of the stack.this
public CfnStackProps.Builder redirectUrl(java.lang.String redirectUrl)
CfnStackProps.getRedirectUrl()
redirectUrl
- The URL that users are redirected to after their streaming session ends.this
public CfnStackProps.Builder storageConnectors(IResolvable storageConnectors)
CfnStackProps.getStorageConnectors()
storageConnectors
- The storage connectors to enable.this
public CfnStackProps.Builder storageConnectors(java.util.List<? extends java.lang.Object> storageConnectors)
CfnStackProps.getStorageConnectors()
storageConnectors
- The storage connectors to enable.this
public CfnStackProps.Builder streamingExperienceSettings(IResolvable streamingExperienceSettings)
CfnStackProps.getStreamingExperienceSettings()
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.this
public CfnStackProps.Builder streamingExperienceSettings(CfnStack.StreamingExperienceSettingsProperty streamingExperienceSettings)
CfnStackProps.getStreamingExperienceSettings()
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.this
public CfnStackProps.Builder tags(java.util.List<? extends CfnTag> tags)
CfnStackProps.getTags()
tags
- An array of key-value pairs.this
public CfnStackProps.Builder userSettings(IResolvable userSettings)
CfnStackProps.getUserSettings()
userSettings
- The actions that are enabled or disabled for users during their streaming sessions.
By default, these actions are enabled.this
public CfnStackProps.Builder userSettings(java.util.List<? extends java.lang.Object> userSettings)
CfnStackProps.getUserSettings()
userSettings
- The actions that are enabled or disabled for users during their streaming sessions.
By default, these actions are enabled.this
public CfnStackProps build()
CfnStackProps
java.lang.NullPointerException
- if any required attribute was not provided