@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UserSetting extends Object implements Serializable, Cloneable, StructuredPojo
Describes an action and whether the action is enabled or disabled for users during their streaming sessions.
Constructor and Description |
---|
UserSetting() |
Modifier and Type | Method and Description |
---|---|
UserSetting |
clone() |
boolean |
equals(Object obj) |
String |
getAction()
The action that is enabled or disabled.
|
Integer |
getMaximumLength()
Specifies the number of characters that can be copied by end users from the local device to the remote session,
and to the local device from the remote session.
|
String |
getPermission()
Indicates whether the action is enabled or disabled.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAction(String action)
The action that is enabled or disabled.
|
void |
setMaximumLength(Integer maximumLength)
Specifies the number of characters that can be copied by end users from the local device to the remote session,
and to the local device from the remote session.
|
void |
setPermission(String permission)
Indicates whether the action is enabled or disabled.
|
String |
toString()
Returns a string representation of this object.
|
UserSetting |
withAction(Action action)
The action that is enabled or disabled.
|
UserSetting |
withAction(String action)
The action that is enabled or disabled.
|
UserSetting |
withMaximumLength(Integer maximumLength)
Specifies the number of characters that can be copied by end users from the local device to the remote session,
and to the local device from the remote session.
|
UserSetting |
withPermission(Permission permission)
Indicates whether the action is enabled or disabled.
|
UserSetting |
withPermission(String permission)
Indicates whether the action is enabled or disabled.
|
public void setAction(String action)
The action that is enabled or disabled.
action
- The action that is enabled or disabled.Action
public String getAction()
The action that is enabled or disabled.
Action
public UserSetting withAction(String action)
The action that is enabled or disabled.
action
- The action that is enabled or disabled.Action
public UserSetting withAction(Action action)
The action that is enabled or disabled.
action
- The action that is enabled or disabled.Action
public void setPermission(String permission)
Indicates whether the action is enabled or disabled.
permission
- Indicates whether the action is enabled or disabled.Permission
public String getPermission()
Indicates whether the action is enabled or disabled.
Permission
public UserSetting withPermission(String permission)
Indicates whether the action is enabled or disabled.
permission
- Indicates whether the action is enabled or disabled.Permission
public UserSetting withPermission(Permission permission)
Indicates whether the action is enabled or disabled.
permission
- Indicates whether the action is enabled or disabled.Permission
public void setMaximumLength(Integer maximumLength)
Specifies the number of characters that can be copied by end users from the local device to the remote session, and to the local device from the remote session.
This can be specified only for the CLIPBOARD_COPY_FROM_LOCAL_DEVICE
and
CLIPBOARD_COPY_TO_LOCAL_DEVICE
actions.
This defaults to 20,971,520 (20 MB) when unspecified and the permission is ENABLED
. This can't be
specified when the permission is DISABLED
.
The value can be between 1 and 20,971,520 (20 MB).
maximumLength
- Specifies the number of characters that can be copied by end users from the local device to the remote
session, and to the local device from the remote session.
This can be specified only for the CLIPBOARD_COPY_FROM_LOCAL_DEVICE
and
CLIPBOARD_COPY_TO_LOCAL_DEVICE
actions.
This defaults to 20,971,520 (20 MB) when unspecified and the permission is ENABLED
. This
can't be specified when the permission is DISABLED
.
The value can be between 1 and 20,971,520 (20 MB).
public Integer getMaximumLength()
Specifies the number of characters that can be copied by end users from the local device to the remote session, and to the local device from the remote session.
This can be specified only for the CLIPBOARD_COPY_FROM_LOCAL_DEVICE
and
CLIPBOARD_COPY_TO_LOCAL_DEVICE
actions.
This defaults to 20,971,520 (20 MB) when unspecified and the permission is ENABLED
. This can't be
specified when the permission is DISABLED
.
The value can be between 1 and 20,971,520 (20 MB).
This can be specified only for the CLIPBOARD_COPY_FROM_LOCAL_DEVICE
and
CLIPBOARD_COPY_TO_LOCAL_DEVICE
actions.
This defaults to 20,971,520 (20 MB) when unspecified and the permission is ENABLED
. This
can't be specified when the permission is DISABLED
.
The value can be between 1 and 20,971,520 (20 MB).
public UserSetting withMaximumLength(Integer maximumLength)
Specifies the number of characters that can be copied by end users from the local device to the remote session, and to the local device from the remote session.
This can be specified only for the CLIPBOARD_COPY_FROM_LOCAL_DEVICE
and
CLIPBOARD_COPY_TO_LOCAL_DEVICE
actions.
This defaults to 20,971,520 (20 MB) when unspecified and the permission is ENABLED
. This can't be
specified when the permission is DISABLED
.
The value can be between 1 and 20,971,520 (20 MB).
maximumLength
- Specifies the number of characters that can be copied by end users from the local device to the remote
session, and to the local device from the remote session.
This can be specified only for the CLIPBOARD_COPY_FROM_LOCAL_DEVICE
and
CLIPBOARD_COPY_TO_LOCAL_DEVICE
actions.
This defaults to 20,971,520 (20 MB) when unspecified and the permission is ENABLED
. This
can't be specified when the permission is DISABLED
.
The value can be between 1 and 20,971,520 (20 MB).
public String toString()
toString
in class Object
Object.toString()
public UserSetting clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.