@Generated(value="software.amazon.awssdk:codegen") public final class CreateUserSettingsRequest extends WorkSpacesWebRequest implements ToCopyableBuilder<CreateUserSettingsRequest.Builder,CreateUserSettingsRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
CreateUserSettingsRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
Map<String,String> |
additionalEncryptionContext()
The additional encryption context of the user settings.
|
static CreateUserSettingsRequest.Builder |
builder() |
String |
clientToken()
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
CookieSynchronizationConfiguration |
cookieSynchronizationConfiguration()
The configuration that specifies which cookies should be synchronized from the end user's local browser to the
remote browser.
|
EnabledType |
copyAllowed()
Specifies whether the user can copy text from the streaming session to the local device.
|
String |
copyAllowedAsString()
Specifies whether the user can copy text from the streaming session to the local device.
|
String |
customerManagedKey()
The customer managed key used to encrypt sensitive information in the user settings.
|
Integer |
disconnectTimeoutInMinutes()
The amount of time that a streaming session remains active after users disconnect.
|
EnabledType |
downloadAllowed()
Specifies whether the user can download files from the streaming session to the local device.
|
String |
downloadAllowedAsString()
Specifies whether the user can download files from the streaming session to the local device.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasAdditionalEncryptionContext()
For responses, this returns true if the service returned a value for the AdditionalEncryptionContext property.
|
int |
hashCode() |
boolean |
hasTags()
For responses, this returns true if the service returned a value for the Tags property.
|
Integer |
idleDisconnectTimeoutInMinutes()
The amount of time that users can be idle (inactive) before they are disconnected from their streaming session
and the disconnect timeout interval begins.
|
EnabledType |
pasteAllowed()
Specifies whether the user can paste text from the local device to the streaming session.
|
String |
pasteAllowedAsString()
Specifies whether the user can paste text from the local device to the streaming session.
|
EnabledType |
printAllowed()
Specifies whether the user can print to the local device.
|
String |
printAllowedAsString()
Specifies whether the user can print to the local device.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CreateUserSettingsRequest.Builder> |
serializableBuilderClass() |
List<Tag> |
tags()
The tags to add to the user settings resource.
|
CreateUserSettingsRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
EnabledType |
uploadAllowed()
Specifies whether the user can upload files from the local device to the streaming session.
|
String |
uploadAllowedAsString()
Specifies whether the user can upload files from the local device to the streaming session.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final boolean hasAdditionalEncryptionContext()
isEmpty() method on the
property). This is useful because the SDK will never return a null collection or map, but you may need to
differentiate between the service returning nothing (or null) and the service returning an empty collection or
map. For requests, this returns true if a value for the property was specified in the request builder, and false
if a value was not specified.public final Map<String,String> additionalEncryptionContext()
The additional encryption context of the user settings.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasAdditionalEncryptionContext() method.
public final String clientToken()
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. Idempotency ensures that an API request completes only once. With an idempotent request, if the original request completes successfully, subsequent retries with the same client token returns the result from the original successful request.
If you do not specify a client token, one is automatically generated by the AWS SDK.
If you do not specify a client token, one is automatically generated by the AWS SDK.
public final CookieSynchronizationConfiguration cookieSynchronizationConfiguration()
The configuration that specifies which cookies should be synchronized from the end user's local browser to the remote browser.
public final EnabledType copyAllowed()
Specifies whether the user can copy text from the streaming session to the local device.
If the service returns an enum value that is not available in the current SDK version, copyAllowed will
return EnabledType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
copyAllowedAsString().
EnabledTypepublic final String copyAllowedAsString()
Specifies whether the user can copy text from the streaming session to the local device.
If the service returns an enum value that is not available in the current SDK version, copyAllowed will
return EnabledType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
copyAllowedAsString().
EnabledTypepublic final String customerManagedKey()
The customer managed key used to encrypt sensitive information in the user settings.
public final Integer disconnectTimeoutInMinutes()
The amount of time that a streaming session remains active after users disconnect.
public final EnabledType downloadAllowed()
Specifies whether the user can download files from the streaming session to the local device.
If the service returns an enum value that is not available in the current SDK version, downloadAllowed
will return EnabledType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
downloadAllowedAsString().
EnabledTypepublic final String downloadAllowedAsString()
Specifies whether the user can download files from the streaming session to the local device.
If the service returns an enum value that is not available in the current SDK version, downloadAllowed
will return EnabledType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
downloadAllowedAsString().
EnabledTypepublic final Integer idleDisconnectTimeoutInMinutes()
The amount of time that users can be idle (inactive) before they are disconnected from their streaming session and the disconnect timeout interval begins.
public final EnabledType pasteAllowed()
Specifies whether the user can paste text from the local device to the streaming session.
If the service returns an enum value that is not available in the current SDK version, pasteAllowed will
return EnabledType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
pasteAllowedAsString().
EnabledTypepublic final String pasteAllowedAsString()
Specifies whether the user can paste text from the local device to the streaming session.
If the service returns an enum value that is not available in the current SDK version, pasteAllowed will
return EnabledType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
pasteAllowedAsString().
EnabledTypepublic final EnabledType printAllowed()
Specifies whether the user can print to the local device.
If the service returns an enum value that is not available in the current SDK version, printAllowed will
return EnabledType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
printAllowedAsString().
EnabledTypepublic final String printAllowedAsString()
Specifies whether the user can print to the local device.
If the service returns an enum value that is not available in the current SDK version, printAllowed will
return EnabledType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
printAllowedAsString().
EnabledTypepublic final boolean hasTags()
isEmpty() method on the property). This is useful
because the SDK will never return a null collection or map, but you may need to differentiate between the service
returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true
if a value for the property was specified in the request builder, and false if a value was not specified.public final List<Tag> tags()
The tags to add to the user settings resource. A tag is a key-value pair.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasTags() method.
public final EnabledType uploadAllowed()
Specifies whether the user can upload files from the local device to the streaming session.
If the service returns an enum value that is not available in the current SDK version, uploadAllowed
will return EnabledType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
uploadAllowedAsString().
EnabledTypepublic final String uploadAllowedAsString()
Specifies whether the user can upload files from the local device to the streaming session.
If the service returns an enum value that is not available in the current SDK version, uploadAllowed
will return EnabledType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
uploadAllowedAsString().
EnabledTypepublic CreateUserSettingsRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CreateUserSettingsRequest.Builder,CreateUserSettingsRequest>toBuilder in class WorkSpacesWebRequestpublic static CreateUserSettingsRequest.Builder builder()
public static Class<? extends CreateUserSettingsRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2023. All rights reserved.