Interface CreateStackRequest.Builder
- All Superinterfaces:
AppStreamRequest.Builder
,AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateStackRequest.Builder,
,CreateStackRequest> SdkBuilder<CreateStackRequest.Builder,
,CreateStackRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateStackRequest
-
Method Summary
Modifier and TypeMethodDescriptionaccessEndpoints
(Collection<AccessEndpoint> accessEndpoints) The list of interface VPC endpoint (interface endpoint) objects.accessEndpoints
(Consumer<AccessEndpoint.Builder>... accessEndpoints) The list of interface VPC endpoint (interface endpoint) objects.accessEndpoints
(AccessEndpoint... accessEndpoints) The list of interface VPC endpoint (interface endpoint) objects.default CreateStackRequest.Builder
applicationSettings
(Consumer<ApplicationSettings.Builder> applicationSettings) The persistent application settings for users of a stack.applicationSettings
(ApplicationSettings applicationSettings) The persistent application settings for users of a stack.description
(String description) The description to display.displayName
(String displayName) The stack name to display.embedHostDomains
(String... embedHostDomains) The domains where AppStream 2.0 streaming sessions can be embedded in an iframe.embedHostDomains
(Collection<String> embedHostDomains) The domains where AppStream 2.0 streaming sessions can be embedded in an iframe.feedbackURL
(String feedbackURL) The URL that users are redirected to after they click the Send Feedback link.The name of the stack.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.redirectURL
(String redirectURL) The URL that users are redirected to after their streaming session ends.storageConnectors
(Collection<StorageConnector> storageConnectors) The storage connectors to enable.storageConnectors
(Consumer<StorageConnector.Builder>... storageConnectors) The storage connectors to enable.storageConnectors
(StorageConnector... storageConnectors) The storage connectors to enable.default CreateStackRequest.Builder
streamingExperienceSettings
(Consumer<StreamingExperienceSettings.Builder> streamingExperienceSettings) The streaming protocol you want your stack to prefer.streamingExperienceSettings
(StreamingExperienceSettings streamingExperienceSettings) The streaming protocol you want your stack to prefer.The tags to associate with the stack.userSettings
(Collection<UserSetting> userSettings) The actions that are enabled or disabled for users during their streaming sessions.userSettings
(Consumer<UserSetting.Builder>... userSettings) The actions that are enabled or disabled for users during their streaming sessions.userSettings
(UserSetting... userSettings) The actions that are enabled or disabled for users during their streaming sessions.Methods inherited from interface software.amazon.awssdk.services.appstream.model.AppStreamRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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.
-
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.
-
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.
-
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
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
CreateStackRequest.Builder storageConnectors(Consumer<StorageConnector.Builder>... storageConnectors) The storage connectors to enable.
This is a convenience method that creates an instance of theStorageConnector.Builder
avoiding the need to create one manually viaStorageConnector.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tostorageConnectors(List<StorageConnector>)
.- Parameters:
storageConnectors
- a consumer that will call methods onStorageConnector.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
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. 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.
-
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
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
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 theUserSetting.Builder
avoiding the need to create one manually viaUserSetting.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed touserSettings(List<UserSetting>)
.- Parameters:
userSettings
- a consumer that will call methods onUserSetting.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
-
applicationSettings
default CreateStackRequest.Builder applicationSettings(Consumer<ApplicationSettings.Builder> 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.
This is a convenience method that creates an instance of theApplicationSettings.Builder
avoiding the need to create one manually viaApplicationSettings.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toapplicationSettings(ApplicationSettings)
.- Parameters:
applicationSettings
- a consumer that will call methods onApplicationSettings.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tags
The tags to associate with the stack. A tag is a key-value pair, and the value is optional. For example, Environment=Test. If you do not specify a value, Environment=.
If you do not specify a value, the value is set to an empty string.
Generally allowed characters are: letters, numbers, and spaces representable in UTF-8, and the following special characters:
_ . : / = + \ - @
For more information about tags, see Tagging Your Resources in the Amazon AppStream 2.0 Administration Guide.
- Parameters:
tags
- The tags to associate with the stack. A tag is a key-value pair, and the value is optional. For example, Environment=Test. If you do not specify a value, Environment=.If you do not specify a value, the value is set to an empty string.
Generally allowed characters are: letters, numbers, and spaces representable in UTF-8, and the following special characters:
_ . : / = + \ - @
For more information about tags, see Tagging Your Resources in the Amazon AppStream 2.0 Administration Guide.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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
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
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 theAccessEndpoint.Builder
avoiding the need to create one manually viaAccessEndpoint.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toaccessEndpoints(List<AccessEndpoint>)
.- Parameters:
accessEndpoints
- a consumer that will call methods onAccessEndpoint.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
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
CreateStackRequest.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.
-
streamingExperienceSettings
default CreateStackRequest.Builder streamingExperienceSettings(Consumer<StreamingExperienceSettings.Builder> 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.
This is a convenience method that creates an instance of theStreamingExperienceSettings.Builder
avoiding the need to create one manually viaStreamingExperienceSettings.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tostreamingExperienceSettings(StreamingExperienceSettings)
.- Parameters:
streamingExperienceSettings
- a consumer that will call methods onStreamingExperienceSettings.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
CreateStackRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateStackRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-