@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UserSettings extends Object implements Serializable, Cloneable, StructuredPojo
A user settings resource that can be associated with a web portal. Once associated with a web portal, user settings control how users can transfer data between a streaming session and the their local devices.
Constructor and Description |
---|
UserSettings() |
Modifier and Type | Method and Description |
---|---|
UserSettings |
clone() |
boolean |
equals(Object obj) |
List<String> |
getAssociatedPortalArns()
A list of web portal ARNs that this user settings is associated with.
|
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.
|
String |
getUploadAllowed()
Specifies whether the user can upload files from the local device to the streaming session.
|
String |
getUserSettingsArn()
The ARN of the user settings.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAssociatedPortalArns(Collection<String> associatedPortalArns)
A list of web portal ARNs that this user settings is associated with.
|
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 |
setUploadAllowed(String uploadAllowed)
Specifies whether the user can upload files from the local device to the streaming session.
|
void |
setUserSettingsArn(String userSettingsArn)
The ARN of the user settings.
|
String |
toString()
Returns a string representation of this object.
|
UserSettings |
withAssociatedPortalArns(Collection<String> associatedPortalArns)
A list of web portal ARNs that this user settings is associated with.
|
UserSettings |
withAssociatedPortalArns(String... associatedPortalArns)
A list of web portal ARNs that this user settings is associated with.
|
UserSettings |
withCopyAllowed(EnabledType copyAllowed)
Specifies whether the user can copy text from the streaming session to the local device.
|
UserSettings |
withCopyAllowed(String copyAllowed)
Specifies whether the user can copy text from the streaming session to the local device.
|
UserSettings |
withDisconnectTimeoutInMinutes(Integer disconnectTimeoutInMinutes)
The amount of time that a streaming session remains active after users disconnect.
|
UserSettings |
withDownloadAllowed(EnabledType downloadAllowed)
Specifies whether the user can download files from the streaming session to the local device.
|
UserSettings |
withDownloadAllowed(String downloadAllowed)
Specifies whether the user can download files from the streaming session to the local device.
|
UserSettings |
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.
|
UserSettings |
withPasteAllowed(EnabledType pasteAllowed)
Specifies whether the user can paste text from the local device to the streaming session.
|
UserSettings |
withPasteAllowed(String pasteAllowed)
Specifies whether the user can paste text from the local device to the streaming session.
|
UserSettings |
withPrintAllowed(EnabledType printAllowed)
Specifies whether the user can print to the local device.
|
UserSettings |
withPrintAllowed(String printAllowed)
Specifies whether the user can print to the local device.
|
UserSettings |
withUploadAllowed(EnabledType uploadAllowed)
Specifies whether the user can upload files from the local device to the streaming session.
|
UserSettings |
withUploadAllowed(String uploadAllowed)
Specifies whether the user can upload files from the local device to the streaming session.
|
UserSettings |
withUserSettingsArn(String userSettingsArn)
The ARN of the user settings.
|
public List<String> getAssociatedPortalArns()
A list of web portal ARNs that this user settings is associated with.
public void setAssociatedPortalArns(Collection<String> associatedPortalArns)
A list of web portal ARNs that this user settings is associated with.
associatedPortalArns
- A list of web portal ARNs that this user settings is associated with.public UserSettings withAssociatedPortalArns(String... associatedPortalArns)
A list of web portal ARNs that this user settings is associated with.
NOTE: This method appends the values to the existing list (if any). Use
setAssociatedPortalArns(java.util.Collection)
or withAssociatedPortalArns(java.util.Collection)
if you want to override the existing values.
associatedPortalArns
- A list of web portal ARNs that this user settings is associated with.public UserSettings withAssociatedPortalArns(Collection<String> associatedPortalArns)
A list of web portal ARNs that this user settings is associated with.
associatedPortalArns
- A list of web portal ARNs that this user settings is associated with.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 UserSettings 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 UserSettings 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 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 UserSettings 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.EnabledType
public String getDownloadAllowed()
Specifies whether the user can download files from the streaming session to the local device.
EnabledType
public UserSettings 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 UserSettings 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 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 UserSettings 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.EnabledType
public String getPasteAllowed()
Specifies whether the user can paste text from the local device to the streaming session.
EnabledType
public UserSettings 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 UserSettings 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 UserSettings 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 UserSettings 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 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 UserSettings 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 UserSettings 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 void setUserSettingsArn(String userSettingsArn)
The ARN of the user settings.
userSettingsArn
- The ARN of the user settings.public String getUserSettingsArn()
The ARN of the user settings.
public UserSettings withUserSettingsArn(String userSettingsArn)
The ARN of the user settings.
userSettingsArn
- The ARN of the user settings.public String toString()
toString
in class Object
Object.toString()
public UserSettings clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.