@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.
|
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 |
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 |
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.Actionpublic String getAction()
The action that is enabled or disabled.
Actionpublic UserSetting withAction(String action)
The action that is enabled or disabled.
action - The action that is enabled or disabled.Actionpublic UserSetting withAction(Action action)
The action that is enabled or disabled.
action - The action that is enabled or disabled.Actionpublic void setPermission(String permission)
Indicates whether the action is enabled or disabled.
permission - Indicates whether the action is enabled or disabled.Permissionpublic String getPermission()
Indicates whether the action is enabled or disabled.
Permissionpublic UserSetting withPermission(String permission)
Indicates whether the action is enabled or disabled.
permission - Indicates whether the action is enabled or disabled.Permissionpublic UserSetting withPermission(Permission permission)
Indicates whether the action is enabled or disabled.
permission - Indicates whether the action is enabled or disabled.Permissionpublic String toString()
toString in class ObjectObject.toString()public UserSetting clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.