Class CfnStack.Builder

java.lang.Object
software.amazon.awscdk.services.appstream.CfnStack.Builder
All Implemented Interfaces:
software.amazon.jsii.Builder<CfnStack>
Enclosing class:
CfnStack

@Stability(Stable) public static final class CfnStack.Builder extends Object implements software.amazon.jsii.Builder<CfnStack>
A fluent builder for CfnStack.
  • Method Details

    • create

      @Stability(Stable) public static CfnStack.Builder create(Construct scope, String id)
      Parameters:
      scope -
      • scope in which this resource is defined.
      This parameter is required.
      id -
      • scoped id of the resource.
      This parameter is required.
      Returns:
      a new instance of CfnStack.Builder.
    • accessEndpoints

      @Stability(Stable) public CfnStack.Builder accessEndpoints(IResolvable 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.

      Parameters:
      accessEndpoints - The list of virtual private cloud (VPC) interface endpoint objects. This parameter is required.
      Returns:
      this
    • accessEndpoints

      @Stability(Stable) public CfnStack.Builder accessEndpoints(List<? extends Object> 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.

      Parameters:
      accessEndpoints - The list of virtual private cloud (VPC) interface endpoint objects. This parameter is required.
      Returns:
      this
    • applicationSettings

      @Stability(Stable) public CfnStack.Builder applicationSettings(IResolvable 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.

      Parameters:
      applicationSettings - The persistent application settings for users of the stack. This parameter is required.
      Returns:
      this
    • applicationSettings

      @Stability(Stable) public CfnStack.Builder applicationSettings(CfnStack.ApplicationSettingsProperty 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.

      Parameters:
      applicationSettings - The persistent application settings for users of the stack. This parameter is required.
      Returns:
      this
    • attributesToDelete

      @Stability(Stable) public CfnStack.Builder attributesToDelete(List<String> attributesToDelete)
      The stack attributes to delete.

      Parameters:
      attributesToDelete - The stack attributes to delete. This parameter is required.
      Returns:
      this
    • deleteStorageConnectors

      @Stability(Stable) public CfnStack.Builder deleteStorageConnectors(Boolean deleteStorageConnectors)
      This parameter has been deprecated..

      Deletes the storage connectors currently enabled for the stack.

      Parameters:
      deleteStorageConnectors - This parameter has been deprecated.. This parameter is required.
      Returns:
      this
    • deleteStorageConnectors

      @Stability(Stable) public CfnStack.Builder deleteStorageConnectors(IResolvable deleteStorageConnectors)
      This parameter has been deprecated..

      Deletes the storage connectors currently enabled for the stack.

      Parameters:
      deleteStorageConnectors - This parameter has been deprecated.. This parameter is required.
      Returns:
      this
    • description

      @Stability(Stable) public CfnStack.Builder description(String description)
      The description to display.

      Parameters:
      description - The description to display. This parameter is required.
      Returns:
      this
    • displayName

      @Stability(Stable) public CfnStack.Builder displayName(String displayName)
      The stack name to display.

      Parameters:
      displayName - The stack name to display. This parameter is required.
      Returns:
      this
    • embedHostDomains

      @Stability(Stable) public CfnStack.Builder embedHostDomains(List<String> 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.

      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. This parameter is required.
      Returns:
      this
    • feedbackUrl

      @Stability(Stable) public CfnStack.Builder feedbackUrl(String 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.

      Parameters:
      feedbackUrl - The URL that users are redirected to after they click the Send Feedback link. This parameter is required.
      Returns:
      this
    • name

      @Stability(Stable) public CfnStack.Builder name(String name)
      The name of the stack.

      Parameters:
      name - The name of the stack. This parameter is required.
      Returns:
      this
    • redirectUrl

      @Stability(Stable) public CfnStack.Builder redirectUrl(String redirectUrl)
      The URL that users are redirected to after their streaming session ends.

      Parameters:
      redirectUrl - The URL that users are redirected to after their streaming session ends. This parameter is required.
      Returns:
      this
    • storageConnectors

      @Stability(Stable) public CfnStack.Builder storageConnectors(IResolvable storageConnectors)
      The storage connectors to enable.

      Parameters:
      storageConnectors - The storage connectors to enable. This parameter is required.
      Returns:
      this
    • storageConnectors

      @Stability(Stable) public CfnStack.Builder storageConnectors(List<? extends Object> storageConnectors)
      The storage connectors to enable.

      Parameters:
      storageConnectors - The storage connectors to enable. This parameter is required.
      Returns:
      this
    • streamingExperienceSettings

      @Stability(Stable) public CfnStack.Builder streamingExperienceSettings(IResolvable 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.

      Parameters:
      streamingExperienceSettings - The streaming protocol that you want your stack to prefer. This parameter is required.
      Returns:
      this
    • streamingExperienceSettings

      @Stability(Stable) public CfnStack.Builder streamingExperienceSettings(CfnStack.StreamingExperienceSettingsProperty 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.

      Parameters:
      streamingExperienceSettings - The streaming protocol that you want your stack to prefer. This parameter is required.
      Returns:
      this
    • tags

      @Stability(Stable) public CfnStack.Builder tags(List<? extends CfnTag> tags)
      An array of key-value pairs.

      Parameters:
      tags - An array of key-value pairs. This parameter is required.
      Returns:
      this
    • userSettings

      @Stability(Stable) public CfnStack.Builder userSettings(IResolvable userSettings)
      The actions that are enabled or disabled for users during their streaming sessions.

      By default, these actions are enabled.

      Parameters:
      userSettings - The actions that are enabled or disabled for users during their streaming sessions. This parameter is required.
      Returns:
      this
    • userSettings

      @Stability(Stable) public CfnStack.Builder userSettings(List<? extends Object> userSettings)
      The actions that are enabled or disabled for users during their streaming sessions.

      By default, these actions are enabled.

      Parameters:
      userSettings - The actions that are enabled or disabled for users during their streaming sessions. This parameter is required.
      Returns:
      this
    • build

      @Stability(Stable) public CfnStack build()
      Specified by:
      build in interface software.amazon.jsii.Builder<CfnStack>
      Returns:
      a newly built instance of CfnStack.