pub struct CreateStackFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to CreateStack
.
Creates a stack to start streaming applications to users. A stack consists of an associated fleet, user access policies, and storage configurations.
Implementations§
source§impl CreateStackFluentBuilder
impl CreateStackFluentBuilder
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<CreateStack, AwsResponseRetryClassifier>, SdkError<CreateStackError>>
pub async fn customize( self ) -> Result<CustomizableOperation<CreateStack, AwsResponseRetryClassifier>, SdkError<CreateStackError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(self) -> Result<CreateStackOutput, SdkError<CreateStackError>>
pub async fn send(self) -> Result<CreateStackOutput, SdkError<CreateStackError>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The description to display.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The description to display.
sourcepub fn display_name(self, input: impl Into<String>) -> Self
pub fn display_name(self, input: impl Into<String>) -> Self
The stack name to display.
sourcepub fn set_display_name(self, input: Option<String>) -> Self
pub fn set_display_name(self, input: Option<String>) -> Self
The stack name to display.
sourcepub fn storage_connectors(self, input: StorageConnector) -> Self
pub fn storage_connectors(self, input: StorageConnector) -> Self
Appends an item to StorageConnectors
.
To override the contents of this collection use set_storage_connectors
.
The storage connectors to enable.
sourcepub fn set_storage_connectors(
self,
input: Option<Vec<StorageConnector>>
) -> Self
pub fn set_storage_connectors( self, input: Option<Vec<StorageConnector>> ) -> Self
The storage connectors to enable.
sourcepub fn redirect_url(self, input: impl Into<String>) -> Self
pub fn redirect_url(self, input: impl Into<String>) -> Self
The URL that users are redirected to after their streaming session ends.
sourcepub fn set_redirect_url(self, input: Option<String>) -> Self
pub fn set_redirect_url(self, input: Option<String>) -> Self
The URL that users are redirected to after their streaming session ends.
sourcepub fn feedback_url(self, input: impl Into<String>) -> Self
pub fn feedback_url(self, input: impl Into<String>) -> Self
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.
sourcepub fn set_feedback_url(self, input: Option<String>) -> Self
pub fn set_feedback_url(self, input: Option<String>) -> Self
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.
sourcepub fn user_settings(self, input: UserSetting) -> Self
pub fn user_settings(self, input: UserSetting) -> Self
Appends an item to UserSettings
.
To override the contents of this collection use set_user_settings
.
The actions that are enabled or disabled for users during their streaming sessions. By default, these actions are enabled.
sourcepub fn set_user_settings(self, input: Option<Vec<UserSetting>>) -> Self
pub fn set_user_settings(self, input: Option<Vec<UserSetting>>) -> Self
The actions that are enabled or disabled for users during their streaming sessions. By default, these actions are enabled.
sourcepub fn application_settings(self, input: ApplicationSettings) -> Self
pub fn application_settings(self, input: ApplicationSettings) -> Self
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.
sourcepub fn set_application_settings(
self,
input: Option<ApplicationSettings>
) -> Self
pub fn set_application_settings( self, input: Option<ApplicationSettings> ) -> Self
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.
Adds a key-value pair to Tags
.
To override the contents of this collection use set_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.
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.
sourcepub fn access_endpoints(self, input: AccessEndpoint) -> Self
pub fn access_endpoints(self, input: AccessEndpoint) -> Self
Appends an item to AccessEndpoints
.
To override the contents of this collection use set_access_endpoints
.
The list of interface VPC endpoint (interface endpoint) objects. Users of the stack can connect to AppStream 2.0 only through the specified endpoints.
sourcepub fn set_access_endpoints(self, input: Option<Vec<AccessEndpoint>>) -> Self
pub fn set_access_endpoints(self, input: Option<Vec<AccessEndpoint>>) -> Self
The list of interface VPC endpoint (interface endpoint) objects. Users of the stack can connect to AppStream 2.0 only through the specified endpoints.
sourcepub fn embed_host_domains(self, input: impl Into<String>) -> Self
pub fn embed_host_domains(self, input: impl Into<String>) -> Self
Appends an item to EmbedHostDomains
.
To override the contents of this collection use set_embed_host_domains
.
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.
sourcepub fn set_embed_host_domains(self, input: Option<Vec<String>>) -> Self
pub fn set_embed_host_domains(self, input: Option<Vec<String>>) -> Self
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.
sourcepub fn streaming_experience_settings(
self,
input: StreamingExperienceSettings
) -> Self
pub fn streaming_experience_settings( self, input: StreamingExperienceSettings ) -> Self
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.
sourcepub fn set_streaming_experience_settings(
self,
input: Option<StreamingExperienceSettings>
) -> Self
pub fn set_streaming_experience_settings( self, input: Option<StreamingExperienceSettings> ) -> Self
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.
Trait Implementations§
source§impl Clone for CreateStackFluentBuilder
impl Clone for CreateStackFluentBuilder
source§fn clone(&self) -> CreateStackFluentBuilder
fn clone(&self) -> CreateStackFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more