/* * Copyright 2018-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions * and limitations under the License. */ package com.amazonaws.services.appstream.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.AmazonWebServiceRequest; /** * * @see AWS API * Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class CreateStackRequest extends com.amazonaws.AmazonWebServiceRequest implements Serializable, Cloneable { /** *
* The name of the stack. *
*/ private String name; /** ** The description to display. *
*/ private String description; /** ** The stack name to display. *
*/ private String displayName; /** ** The storage connectors to enable. *
*/ private java.util.List* The URL that users are redirected to after their streaming session ends. *
*/ private String redirectURL; /** ** 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. *
*/ private String feedbackURL; /** ** The actions that are enabled or disabled for users during their streaming sessions. By default, these actions are * enabled. *
*/ private java.util.List* 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. *
*/ private ApplicationSettings applicationSettings; /** ** 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. *
*/ private java.util.Map* The list of interface VPC endpoint (interface endpoint) objects. Users of the stack can connect to AppStream 2.0 * only through the specified endpoints. *
*/ private java.util.List* 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. *
*/ private java.util.List* 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. *
*/ private StreamingExperienceSettings streamingExperienceSettings; /** ** The name of the stack. *
* * @param name * The name of the stack. */ public void setName(String name) { this.name = name; } /** ** The name of the stack. *
* * @return The name of the stack. */ public String getName() { return this.name; } /** ** The name of the stack. *
* * @param name * The name of the stack. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateStackRequest withName(String name) { setName(name); return this; } /** ** The description to display. *
* * @param description * The description to display. */ public void setDescription(String description) { this.description = description; } /** ** The description to display. *
* * @return The description to display. */ public String getDescription() { return this.description; } /** ** The description to display. *
* * @param description * The description to display. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateStackRequest withDescription(String description) { setDescription(description); return this; } /** ** The stack name to display. *
* * @param displayName * The stack name to display. */ public void setDisplayName(String displayName) { this.displayName = displayName; } /** ** The stack name to display. *
* * @return The stack name to display. */ public String getDisplayName() { return this.displayName; } /** ** The stack name to display. *
* * @param displayName * The stack name to display. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateStackRequest withDisplayName(String displayName) { setDisplayName(displayName); return this; } /** ** The storage connectors to enable. *
* * @return The storage connectors to enable. */ public java.util.List* The storage connectors to enable. *
* * @param storageConnectors * The storage connectors to enable. */ public void setStorageConnectors(java.util.Collection* The storage connectors to enable. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setStorageConnectors(java.util.Collection)} or {@link #withStorageConnectors(java.util.Collection)} if * you want to override the existing values. *
* * @param storageConnectors * The storage connectors to enable. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateStackRequest withStorageConnectors(StorageConnector... storageConnectors) { if (this.storageConnectors == null) { setStorageConnectors(new java.util.ArrayList* The storage connectors to enable. *
* * @param storageConnectors * The storage connectors to enable. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateStackRequest withStorageConnectors(java.util.Collection* The URL that users are redirected to after their streaming session ends. *
* * @param redirectURL * The URL that users are redirected to after their streaming session ends. */ public void setRedirectURL(String redirectURL) { this.redirectURL = redirectURL; } /** ** The URL that users are redirected to after their streaming session ends. *
* * @return The URL that users are redirected to after their streaming session ends. */ public String getRedirectURL() { return this.redirectURL; } /** ** The URL that users are redirected to after their streaming session ends. *
* * @param redirectURL * The URL that users are redirected to after their streaming session ends. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateStackRequest withRedirectURL(String redirectURL) { setRedirectURL(redirectURL); return this; } /** ** 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. *
* * @param 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. */ public void setFeedbackURL(String feedbackURL) { this.feedbackURL = 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. *
* * @return 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. */ public String getFeedbackURL() { return this.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. *
* * @param 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. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateStackRequest withFeedbackURL(String feedbackURL) { setFeedbackURL(feedbackURL); return this; } /** ** The actions that are enabled or disabled for users during their streaming sessions. By default, these actions are * enabled. *
* * @return The actions that are enabled or disabled for users during their streaming sessions. By default, these * actions are enabled. */ public java.util.List* The actions that are enabled or disabled for users during their streaming sessions. By default, these actions are * enabled. *
* * @param userSettings * The actions that are enabled or disabled for users during their streaming sessions. By default, these * actions are enabled. */ public void setUserSettings(java.util.Collection* The actions that are enabled or disabled for users during their streaming sessions. By default, these actions are * enabled. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setUserSettings(java.util.Collection)} or {@link #withUserSettings(java.util.Collection)} if you want to * override the existing values. *
* * @param userSettings * The actions that are enabled or disabled for users during their streaming sessions. By default, these * actions are enabled. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateStackRequest withUserSettings(UserSetting... userSettings) { if (this.userSettings == null) { setUserSettings(new java.util.ArrayList* The actions that are enabled or disabled for users during their streaming sessions. By default, these actions are * enabled. *
* * @param userSettings * The actions that are enabled or disabled for users during their streaming sessions. By default, these * actions are enabled. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateStackRequest withUserSettings(java.util.Collection* 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. *
* * @param 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. */ public void setApplicationSettings(ApplicationSettings applicationSettings) { this.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. *
* * @return 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. */ public ApplicationSettings getApplicationSettings() { return this.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. *
* * @param 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. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateStackRequest withApplicationSettings(ApplicationSettings applicationSettings) { setApplicationSettings(applicationSettings); return this; } /** ** 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. *
* * @return 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.
*/
public java.util.Map
* 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.
*
* 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.
*/
public void setTags(java.util.Map
* 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.
*
* 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.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public CreateStackRequest withTags(java.util.Map
* The list of interface VPC endpoint (interface endpoint) objects. Users of the stack can connect to AppStream 2.0
* only through the specified 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.
*
* The list of interface VPC endpoint (interface endpoint) objects. Users of the stack can connect to AppStream 2.0
* only through the specified endpoints.
*
* NOTE: This method appends the values to the existing list (if any). Use
* {@link #setAccessEndpoints(java.util.Collection)} or {@link #withAccessEndpoints(java.util.Collection)} if you
* want to override the existing values.
*
* The list of interface VPC endpoint (interface endpoint) objects. Users of the stack can connect to AppStream 2.0
* only through the specified endpoints.
*
* 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.
*
* 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.
*
* 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.
*
* NOTE: This method appends the values to the existing list (if any). Use
* {@link #setEmbedHostDomains(java.util.Collection)} or {@link #withEmbedHostDomains(java.util.Collection)} if you
* want to override the existing values.
*
* 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.
*
* 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.
*
* 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.
*
* 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.
*