@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateUserSettingsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
CreateUserSettingsRequest() |
| Modifier and Type | Method and Description |
|---|---|
CreateUserSettingsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getClientToken()
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
String |
getCopyAllowed()
Specifies whether the user can copy text from the streaming session to the local device.
|
Integer |
getDisconnectTimeoutInMinutes()
The amount of time that a streaming session remains active after users disconnect.
|
String |
getDownloadAllowed()
Specifies whether the user can download files from the streaming session to the local device.
|
Integer |
getIdleDisconnectTimeoutInMinutes()
The amount of time that users can be idle (inactive) before they are disconnected from their streaming session
and the disconnect timeout interval begins.
|
String |
getPasteAllowed()
Specifies whether the user can paste text from the local device to the streaming session.
|
String |
getPrintAllowed()
Specifies whether the user can print to the local device.
|
List<Tag> |
getTags()
The tags to add to the user settings resource.
|
String |
getUploadAllowed()
Specifies whether the user can upload files from the local device to the streaming session.
|
int |
hashCode() |
void |
setClientToken(String clientToken)
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
void |
setCopyAllowed(String copyAllowed)
Specifies whether the user can copy text from the streaming session to the local device.
|
void |
setDisconnectTimeoutInMinutes(Integer disconnectTimeoutInMinutes)
The amount of time that a streaming session remains active after users disconnect.
|
void |
setDownloadAllowed(String downloadAllowed)
Specifies whether the user can download files from the streaming session to the local device.
|
void |
setIdleDisconnectTimeoutInMinutes(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.
|
void |
setPasteAllowed(String pasteAllowed)
Specifies whether the user can paste text from the local device to the streaming session.
|
void |
setPrintAllowed(String printAllowed)
Specifies whether the user can print to the local device.
|
void |
setTags(Collection<Tag> tags)
The tags to add to the user settings resource.
|
void |
setUploadAllowed(String uploadAllowed)
Specifies whether the user can upload files from the local device to the streaming session.
|
String |
toString()
Returns a string representation of this object.
|
CreateUserSettingsRequest |
withClientToken(String clientToken)
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
CreateUserSettingsRequest |
withCopyAllowed(EnabledType copyAllowed)
Specifies whether the user can copy text from the streaming session to the local device.
|
CreateUserSettingsRequest |
withCopyAllowed(String copyAllowed)
Specifies whether the user can copy text from the streaming session to the local device.
|
CreateUserSettingsRequest |
withDisconnectTimeoutInMinutes(Integer disconnectTimeoutInMinutes)
The amount of time that a streaming session remains active after users disconnect.
|
CreateUserSettingsRequest |
withDownloadAllowed(EnabledType downloadAllowed)
Specifies whether the user can download files from the streaming session to the local device.
|
CreateUserSettingsRequest |
withDownloadAllowed(String downloadAllowed)
Specifies whether the user can download files from the streaming session to the local device.
|
CreateUserSettingsRequest |
withIdleDisconnectTimeoutInMinutes(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.
|
CreateUserSettingsRequest |
withPasteAllowed(EnabledType pasteAllowed)
Specifies whether the user can paste text from the local device to the streaming session.
|
CreateUserSettingsRequest |
withPasteAllowed(String pasteAllowed)
Specifies whether the user can paste text from the local device to the streaming session.
|
CreateUserSettingsRequest |
withPrintAllowed(EnabledType printAllowed)
Specifies whether the user can print to the local device.
|
CreateUserSettingsRequest |
withPrintAllowed(String printAllowed)
Specifies whether the user can print to the local device.
|
CreateUserSettingsRequest |
withTags(Collection<Tag> tags)
The tags to add to the user settings resource.
|
CreateUserSettingsRequest |
withTags(Tag... tags)
The tags to add to the user settings resource.
|
CreateUserSettingsRequest |
withUploadAllowed(EnabledType uploadAllowed)
Specifies whether the user can upload files from the local device to the streaming session.
|
CreateUserSettingsRequest |
withUploadAllowed(String uploadAllowed)
Specifies whether the user can upload files from the local device to the streaming session.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setClientToken(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.
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.
public String getClientToken()
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 CreateUserSettingsRequest withClientToken(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.
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.
public void setCopyAllowed(String copyAllowed)
Specifies whether the user can copy text from the streaming session to the local device.
copyAllowed - Specifies whether the user can copy text from the streaming session to the local device.EnabledTypepublic String getCopyAllowed()
Specifies whether the user can copy text from the streaming session to the local device.
EnabledTypepublic CreateUserSettingsRequest withCopyAllowed(String copyAllowed)
Specifies whether the user can copy text from the streaming session to the local device.
copyAllowed - Specifies whether the user can copy text from the streaming session to the local device.EnabledTypepublic CreateUserSettingsRequest withCopyAllowed(EnabledType copyAllowed)
Specifies whether the user can copy text from the streaming session to the local device.
copyAllowed - Specifies whether the user can copy text from the streaming session to the local device.EnabledTypepublic void setDisconnectTimeoutInMinutes(Integer disconnectTimeoutInMinutes)
The amount of time that a streaming session remains active after users disconnect.
disconnectTimeoutInMinutes - The amount of time that a streaming session remains active after users disconnect.public Integer getDisconnectTimeoutInMinutes()
The amount of time that a streaming session remains active after users disconnect.
public CreateUserSettingsRequest withDisconnectTimeoutInMinutes(Integer disconnectTimeoutInMinutes)
The amount of time that a streaming session remains active after users disconnect.
disconnectTimeoutInMinutes - The amount of time that a streaming session remains active after users disconnect.public void setDownloadAllowed(String downloadAllowed)
Specifies whether the user can download files from the streaming session to the local device.
downloadAllowed - Specifies whether the user can download files from the streaming session to the local device.EnabledTypepublic String getDownloadAllowed()
Specifies whether the user can download files from the streaming session to the local device.
EnabledTypepublic CreateUserSettingsRequest withDownloadAllowed(String downloadAllowed)
Specifies whether the user can download files from the streaming session to the local device.
downloadAllowed - Specifies whether the user can download files from the streaming session to the local device.EnabledTypepublic CreateUserSettingsRequest withDownloadAllowed(EnabledType downloadAllowed)
Specifies whether the user can download files from the streaming session to the local device.
downloadAllowed - Specifies whether the user can download files from the streaming session to the local device.EnabledTypepublic void setIdleDisconnectTimeoutInMinutes(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.
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 Integer getIdleDisconnectTimeoutInMinutes()
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 CreateUserSettingsRequest withIdleDisconnectTimeoutInMinutes(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.
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 void setPasteAllowed(String pasteAllowed)
Specifies whether the user can paste text from the local device to the streaming session.
pasteAllowed - Specifies whether the user can paste text from the local device to the streaming session.EnabledTypepublic String getPasteAllowed()
Specifies whether the user can paste text from the local device to the streaming session.
EnabledTypepublic CreateUserSettingsRequest withPasteAllowed(String pasteAllowed)
Specifies whether the user can paste text from the local device to the streaming session.
pasteAllowed - Specifies whether the user can paste text from the local device to the streaming session.EnabledTypepublic CreateUserSettingsRequest withPasteAllowed(EnabledType pasteAllowed)
Specifies whether the user can paste text from the local device to the streaming session.
pasteAllowed - Specifies whether the user can paste text from the local device to the streaming session.EnabledTypepublic void setPrintAllowed(String printAllowed)
Specifies whether the user can print to the local device.
printAllowed - Specifies whether the user can print to the local device.EnabledTypepublic String getPrintAllowed()
Specifies whether the user can print to the local device.
EnabledTypepublic CreateUserSettingsRequest withPrintAllowed(String printAllowed)
Specifies whether the user can print to the local device.
printAllowed - Specifies whether the user can print to the local device.EnabledTypepublic CreateUserSettingsRequest withPrintAllowed(EnabledType printAllowed)
Specifies whether the user can print to the local device.
printAllowed - Specifies whether the user can print to the local device.EnabledTypepublic List<Tag> getTags()
The tags to add to the user settings resource. A tag is a key-value pair.
public void setTags(Collection<Tag> tags)
The tags to add to the user settings resource. A tag is a key-value pair.
tags - The tags to add to the user settings resource. A tag is a key-value pair.public CreateUserSettingsRequest withTags(Tag... tags)
The tags to add to the user settings resource. A tag is a key-value pair.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection) or withTags(java.util.Collection) if you want to override the
existing values.
tags - The tags to add to the user settings resource. A tag is a key-value pair.public CreateUserSettingsRequest withTags(Collection<Tag> tags)
The tags to add to the user settings resource. A tag is a key-value pair.
tags - The tags to add to the user settings resource. A tag is a key-value pair.public void setUploadAllowed(String uploadAllowed)
Specifies whether the user can upload files from the local device to the streaming session.
uploadAllowed - Specifies whether the user can upload files from the local device to the streaming session.EnabledTypepublic String getUploadAllowed()
Specifies whether the user can upload files from the local device to the streaming session.
EnabledTypepublic CreateUserSettingsRequest withUploadAllowed(String uploadAllowed)
Specifies whether the user can upload files from the local device to the streaming session.
uploadAllowed - Specifies whether the user can upload files from the local device to the streaming session.EnabledTypepublic CreateUserSettingsRequest withUploadAllowed(EnabledType uploadAllowed)
Specifies whether the user can upload files from the local device to the streaming session.
uploadAllowed - Specifies whether the user can upload files from the local device to the streaming session.EnabledTypepublic String toString()
toString in class ObjectObject.toString()public CreateUserSettingsRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()