Interface Stack.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Stack.Builder,Stack>,SdkBuilder<Stack.Builder,Stack>,SdkPojo
- Enclosing class:
- Stack
public static interface Stack.Builder extends SdkPojo, CopyableBuilder<Stack.Builder,Stack>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description Stack.BuilderaccessEndpoints(Collection<AccessEndpoint> accessEndpoints)The list of virtual private cloud (VPC) interface endpoint objects.Stack.BuilderaccessEndpoints(Consumer<AccessEndpoint.Builder>... accessEndpoints)The list of virtual private cloud (VPC) interface endpoint objects.Stack.BuilderaccessEndpoints(AccessEndpoint... accessEndpoints)The list of virtual private cloud (VPC) interface endpoint objects.default Stack.BuilderapplicationSettings(Consumer<ApplicationSettingsResponse.Builder> applicationSettings)The persistent application settings for users of the stack.Stack.BuilderapplicationSettings(ApplicationSettingsResponse applicationSettings)The persistent application settings for users of the stack.Stack.Builderarn(String arn)The ARN of the stack.Stack.BuildercreatedTime(Instant createdTime)The time the stack was created.Stack.Builderdescription(String description)The description to display.Stack.BuilderdisplayName(String displayName)The stack name to display.Stack.BuilderembedHostDomains(String... embedHostDomains)The domains where AppStream 2.0 streaming sessions can be embedded in an iframe.Stack.BuilderembedHostDomains(Collection<String> embedHostDomains)The domains where AppStream 2.0 streaming sessions can be embedded in an iframe.Stack.BuilderfeedbackURL(String feedbackURL)The URL that users are redirected to after they click the Send Feedback link.Stack.Buildername(String name)The name of the stack.Stack.BuilderredirectURL(String redirectURL)The URL that users are redirected to after their streaming session ends.Stack.BuilderstackErrors(Collection<StackError> stackErrors)The errors for the stack.Stack.BuilderstackErrors(Consumer<StackError.Builder>... stackErrors)The errors for the stack.Stack.BuilderstackErrors(StackError... stackErrors)The errors for the stack.Stack.BuilderstorageConnectors(Collection<StorageConnector> storageConnectors)The storage connectors to enable.Stack.BuilderstorageConnectors(Consumer<StorageConnector.Builder>... storageConnectors)The storage connectors to enable.Stack.BuilderstorageConnectors(StorageConnector... storageConnectors)The storage connectors to enable.default Stack.BuilderstreamingExperienceSettings(Consumer<StreamingExperienceSettings.Builder> streamingExperienceSettings)The streaming protocol you want your stack to prefer.Stack.BuilderstreamingExperienceSettings(StreamingExperienceSettings streamingExperienceSettings)The streaming protocol you want your stack to prefer.Stack.BuilderuserSettings(Collection<UserSetting> userSettings)The actions that are enabled or disabled for users during their streaming sessions.Stack.BuilderuserSettings(Consumer<UserSetting.Builder>... userSettings)The actions that are enabled or disabled for users during their streaming sessions.Stack.BuilderuserSettings(UserSetting... userSettings)The actions that are enabled or disabled for users during their streaming sessions.-
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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
arn
Stack.Builder arn(String arn)
The ARN of the stack.
- Parameters:
arn- The ARN of the stack.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
Stack.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.
-
description
Stack.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.
-
displayName
Stack.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.
-
createdTime
Stack.Builder createdTime(Instant createdTime)
The time the stack was created.
- Parameters:
createdTime- The time the stack was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
storageConnectors
Stack.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
Stack.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.
-
storageConnectors
Stack.Builder storageConnectors(Consumer<StorageConnector.Builder>... storageConnectors)
The storage connectors to enable.
This is a convenience method that creates an instance of theStorageConnector.Builderavoiding the need to create one manually viaStorageConnector.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#storageConnectors(List.) - 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:
#storageConnectors(java.util.Collection)
-
redirectURL
Stack.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
Stack.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. 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.
-
stackErrors
Stack.Builder stackErrors(Collection<StackError> stackErrors)
The errors for the stack.
- Parameters:
stackErrors- The errors for the stack.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stackErrors
Stack.Builder stackErrors(StackError... stackErrors)
The errors for the stack.
- Parameters:
stackErrors- The errors for the stack.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stackErrors
Stack.Builder stackErrors(Consumer<StackError.Builder>... stackErrors)
The errors for the stack.
This is a convenience method that creates an instance of theStackError.Builderavoiding the need to create one manually viaStackError.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#stackErrors(List.) - Parameters:
stackErrors- a consumer that will call methods onStackError.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#stackErrors(java.util.Collection)
-
userSettings
Stack.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
Stack.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
Stack.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 theUserSetting.Builderavoiding the need to create one manually viaUserSetting.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#userSettings(List.) - 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:
#userSettings(java.util.Collection)
-
applicationSettings
Stack.Builder applicationSettings(ApplicationSettingsResponse applicationSettings)
The persistent application settings for users of the stack.
- Parameters:
applicationSettings- The persistent application settings for users of the stack.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
applicationSettings
default Stack.Builder applicationSettings(Consumer<ApplicationSettingsResponse.Builder> applicationSettings)
The persistent application settings for users of the stack.
This is a convenience method that creates an instance of theApplicationSettingsResponse.Builderavoiding the need to create one manually viaApplicationSettingsResponse.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toapplicationSettings(ApplicationSettingsResponse).- Parameters:
applicationSettings- a consumer that will call methods onApplicationSettingsResponse.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
applicationSettings(ApplicationSettingsResponse)
-
accessEndpoints
Stack.Builder accessEndpoints(Collection<AccessEndpoint> 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. 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
Stack.Builder accessEndpoints(AccessEndpoint... 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. 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
Stack.Builder accessEndpoints(Consumer<AccessEndpoint.Builder>... 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 is a convenience method that creates an instance of theAccessEndpoint.Builderavoiding the need to create one manually viaAccessEndpoint.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#accessEndpoints(List.) - 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:
#accessEndpoints(java.util.Collection)
-
embedHostDomains
Stack.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
Stack.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
Stack.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 Stack.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.Builderavoiding the need to create one manually viaStreamingExperienceSettings.builder().When the
Consumercompletes,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:
streamingExperienceSettings(StreamingExperienceSettings)
-
-