@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.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 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.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.