@Generated(value="software.amazon.awssdk:codegen") public final class CreateStackRequest extends AppStreamRequest implements ToCopyableBuilder<CreateStackRequest.Builder,CreateStackRequest>
Modifier and Type | Class and Description |
---|---|
static interface |
CreateStackRequest.Builder |
Modifier and Type | Method and Description |
---|---|
List<AccessEndpoint> |
accessEndpoints()
The list of interface VPC endpoint (interface endpoint) objects.
|
ApplicationSettings |
applicationSettings()
The persistent application settings for users of a stack.
|
static CreateStackRequest.Builder |
builder() |
String |
description()
The description to display.
|
String |
displayName()
The stack name to display.
|
List<String> |
embedHostDomains()
The domains where AppStream 2.0 streaming sessions can be embedded in an iframe.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj)
Indicates whether some other object is "equal to" this one by SDK fields.
|
String |
feedbackURL()
The URL that users are redirected to after they click the Send Feedback link.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz)
Used to retrieve the value of a field from any class that extends
SdkRequest . |
boolean |
hasAccessEndpoints()
Returns true if the AccessEndpoints property was specified by the sender (it may be empty), or false if the
sender did not specify the value (it will be empty).
|
boolean |
hasEmbedHostDomains()
Returns true if the EmbedHostDomains property was specified by the sender (it may be empty), or false if the
sender did not specify the value (it will be empty).
|
int |
hashCode() |
boolean |
hasStorageConnectors()
Returns true if the StorageConnectors property was specified by the sender (it may be empty), or false if the
sender did not specify the value (it will be empty).
|
boolean |
hasTags()
Returns true if the Tags property was specified by the sender (it may be empty), or false if the sender did not
specify the value (it will be empty).
|
boolean |
hasUserSettings()
Returns true if the UserSettings property was specified by the sender (it may be empty), or false if the sender
did not specify the value (it will be empty).
|
String |
name()
The name of the stack.
|
String |
redirectURL()
The URL that users are redirected to after their streaming session ends.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CreateStackRequest.Builder> |
serializableBuilderClass() |
List<StorageConnector> |
storageConnectors()
The storage connectors to enable.
|
Map<String,String> |
tags()
The tags to associate with the stack.
|
CreateStackRequest.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString()
Returns a string representation of this object.
|
List<UserSetting> |
userSettings()
The actions that are enabled or disabled for users during their streaming sessions.
|
overrideConfiguration
copy
public final String name()
The name of the stack.
public final String description()
The description to display.
public final String displayName()
The stack name to display.
public final boolean hasStorageConnectors()
public final List<StorageConnector> storageConnectors()
The storage connectors to enable.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasStorageConnectors()
to see if a value was sent in this field.
public final String redirectURL()
The URL that users are redirected to after their streaming session ends.
public final 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.
public final boolean hasUserSettings()
public final List<UserSetting> userSettings()
The actions that are enabled or disabled for users during their streaming sessions. By default, these actions are enabled.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasUserSettings()
to see if a value was sent in this field.
public final 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.
public final boolean hasTags()
public final Map<String,String> 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.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasTags()
to see if a value was sent in this field.
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 final boolean hasAccessEndpoints()
public final List<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.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasAccessEndpoints()
to see if a value was sent in this field.
public final boolean hasEmbedHostDomains()
public final List<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.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasEmbedHostDomains()
to see if a value was sent in this field.
public CreateStackRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<CreateStackRequest.Builder,CreateStackRequest>
toBuilder
in class AppStreamRequest
public static CreateStackRequest.Builder builder()
public static Class<? extends CreateStackRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode
in class AwsRequest
public final boolean equals(Object obj)
equals
in class AwsRequest
public final boolean equalsBySdkFields(Object obj)
SdkPojo
SdkPojo
class,
and is generated based on a service model.
If an SdkPojo
class does not have any inherited fields, equalsBySdkFields
and equals
are essentially the same.
equalsBySdkFields
in interface SdkPojo
obj
- the object to be compared withpublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkRequest
SdkRequest
. The field name
specified should match the member name from the corresponding service-2.json model specified in the
codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
If the returned value is also a modeled class, the SdkRequest.getValueForField(String, Class)
method will
again be available.getValueForField
in class SdkRequest
fieldName
- The name of the member to be retrieved.clazz
- The class to cast the returned object to.Copyright © 2021 Amazon Web Services, Inc. All Rights Reserved.