@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.
|
String |
getDownloadAllowed()
Specifies whether the user can download files from the streaming session to the local device.
|
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 |
setDownloadAllowed(String downloadAllowed)
Specifies whether the user can download files from the streaming session to the local device.
|
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 |
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 |
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, withSdkRequestTimeout
public 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.EnabledType
public String getCopyAllowed()
Specifies whether the user can copy text from the streaming session to the local device.
EnabledType
public 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.EnabledType
public 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.EnabledType
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.EnabledType
public String getDownloadAllowed()
Specifies whether the user can download files from the streaming session to the local device.
EnabledType
public 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.EnabledType
public 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.EnabledType
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.EnabledType
public String getPasteAllowed()
Specifies whether the user can paste text from the local device to the streaming session.
EnabledType
public 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.EnabledType
public 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.EnabledType
public 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.EnabledType
public String getPrintAllowed()
Specifies whether the user can print to the local device.
EnabledType
public 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.EnabledType
public 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.EnabledType
public 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.EnabledType
public String getUploadAllowed()
Specifies whether the user can upload files from the local device to the streaming session.
EnabledType
public 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.EnabledType
public 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.EnabledType
public String toString()
toString
in class Object
Object.toString()
public CreateUserSettingsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()