Interface UpdateStackRequest.Builder

    • Method Detail

      • displayName

        UpdateStackRequest.Builder displayName​(String displayName)

        The stack name to display.

        Parameters:
        displayName - The stack name to display.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • description

        UpdateStackRequest.Builder description​(String description)

        The description to display.

        Parameters:
        description - The description to display.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • name

        UpdateStackRequest.Builder name​(String name)

        The name of the stack.

        Parameters:
        name - The name of the stack.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • storageConnectors

        UpdateStackRequest.Builder storageConnectors​(Collection<StorageConnector> storageConnectors)

        The storage connectors to enable.

        Parameters:
        storageConnectors - The storage connectors to enable.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • storageConnectors

        UpdateStackRequest.Builder storageConnectors​(StorageConnector... storageConnectors)

        The storage connectors to enable.

        Parameters:
        storageConnectors - The storage connectors to enable.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • deleteStorageConnectors

        @Deprecated
        UpdateStackRequest.Builder deleteStorageConnectors​(Boolean deleteStorageConnectors)
        Deprecated.

        Deletes the storage connectors currently enabled for the stack.

        Parameters:
        deleteStorageConnectors - Deletes the storage connectors currently enabled for the stack.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • redirectURL

        UpdateStackRequest.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.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • feedbackURL

        UpdateStackRequest.Builder feedbackURL​(String feedbackURL)

        The URL that users are redirected to after they choose 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 choose the Send Feedback link. If no URL is specified, no Send Feedback link is displayed.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • attributesToDeleteWithStrings

        UpdateStackRequest.Builder attributesToDeleteWithStrings​(Collection<String> attributesToDelete)

        The stack attributes to delete.

        Parameters:
        attributesToDelete - The stack attributes to delete.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • attributesToDeleteWithStrings

        UpdateStackRequest.Builder attributesToDeleteWithStrings​(String... attributesToDelete)

        The stack attributes to delete.

        Parameters:
        attributesToDelete - The stack attributes to delete.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • attributesToDelete

        UpdateStackRequest.Builder attributesToDelete​(Collection<StackAttribute> attributesToDelete)

        The stack attributes to delete.

        Parameters:
        attributesToDelete - The stack attributes to delete.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • attributesToDelete

        UpdateStackRequest.Builder attributesToDelete​(StackAttribute... attributesToDelete)

        The stack attributes to delete.

        Parameters:
        attributesToDelete - The stack attributes to delete.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • userSettings

        UpdateStackRequest.Builder userSettings​(Collection<UserSetting> 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. By default, these actions are enabled.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • userSettings

        UpdateStackRequest.Builder userSettings​(UserSetting... 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. By default, these actions are enabled.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • userSettings

        UpdateStackRequest.Builder userSettings​(Consumer<UserSetting.Builder>... userSettings)

        The actions that are enabled or disabled for users during their streaming sessions. By default, these actions are enabled.

        This is a convenience method that creates an instance of the UserSetting.Builder avoiding the need to create one manually via UserSetting.builder().

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #userSettings(List).

        Parameters:
        userSettings - a consumer that will call methods on UserSetting.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #userSettings(java.util.Collection)
      • applicationSettings

        UpdateStackRequest.Builder applicationSettings​(ApplicationSettings applicationSettings)

        The persistent application settings for users of a 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 a 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:
        Returns a reference to this object so that method calls can be chained together.
      • accessEndpoints

        UpdateStackRequest.Builder accessEndpoints​(Collection<AccessEndpoint> accessEndpoints)

        The list of interface VPC endpoint (interface endpoint) objects. Users of the stack can connect to AppStream 2.0 only through the specified endpoints.

        Parameters:
        accessEndpoints - The list of interface VPC endpoint (interface endpoint) objects. Users of the stack can connect to AppStream 2.0 only through the specified endpoints.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • accessEndpoints

        UpdateStackRequest.Builder accessEndpoints​(AccessEndpoint... accessEndpoints)

        The list of interface VPC endpoint (interface endpoint) objects. Users of the stack can connect to AppStream 2.0 only through the specified endpoints.

        Parameters:
        accessEndpoints - The list of interface VPC endpoint (interface endpoint) objects. Users of the stack can connect to AppStream 2.0 only through the specified endpoints.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • accessEndpoints

        UpdateStackRequest.Builder accessEndpoints​(Consumer<AccessEndpoint.Builder>... accessEndpoints)

        The list of interface VPC endpoint (interface endpoint) objects. Users of the stack can connect to AppStream 2.0 only through the specified endpoints.

        This is a convenience method that creates an instance of the AccessEndpoint.Builder avoiding the need to create one manually via AccessEndpoint.builder().

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #accessEndpoints(List).

        Parameters:
        accessEndpoints - a consumer that will call methods on AccessEndpoint.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #accessEndpoints(java.util.Collection)
      • embedHostDomains

        UpdateStackRequest.Builder embedHostDomains​(Collection<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.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • embedHostDomains

        UpdateStackRequest.Builder embedHostDomains​(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.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • streamingExperienceSettings

        UpdateStackRequest.Builder streamingExperienceSettings​(StreamingExperienceSettings streamingExperienceSettings)

        The streaming protocol 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 you want your stack to prefer. This can be UDP or TCP. Currently, UDP is only supported in the Windows native client.
        Returns:
        Returns a reference to this object so that method calls can be chained together.