@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UserSetting extends Object implements Serializable, Cloneable, StructuredPojo
Information about the user's permission settings.
| Constructor and Description |
|---|
UserSetting() |
| Modifier and Type | Method and Description |
|---|---|
UserSetting |
clone() |
boolean |
equals(Object obj) |
String |
getAction()
Indicates the type of action.
|
Integer |
getMaximumLength()
Indicates the maximum character length for the specified user setting.
|
String |
getPermission()
Indicates if the setting is enabled or disabled.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setAction(String action)
Indicates the type of action.
|
void |
setMaximumLength(Integer maximumLength)
Indicates the maximum character length for the specified user setting.
|
void |
setPermission(String permission)
Indicates if the setting is enabled or disabled.
|
String |
toString()
Returns a string representation of this object.
|
UserSetting |
withAction(String action)
Indicates the type of action.
|
UserSetting |
withAction(UserSettingActionEnum action)
Indicates the type of action.
|
UserSetting |
withMaximumLength(Integer maximumLength)
Indicates the maximum character length for the specified user setting.
|
UserSetting |
withPermission(String permission)
Indicates if the setting is enabled or disabled.
|
UserSetting |
withPermission(UserSettingPermissionEnum permission)
Indicates if the setting is enabled or disabled.
|
public void setAction(String action)
Indicates the type of action.
action - Indicates the type of action.UserSettingActionEnumpublic String getAction()
Indicates the type of action.
UserSettingActionEnumpublic UserSetting withAction(String action)
Indicates the type of action.
action - Indicates the type of action.UserSettingActionEnumpublic UserSetting withAction(UserSettingActionEnum action)
Indicates the type of action.
action - Indicates the type of action.UserSettingActionEnumpublic void setPermission(String permission)
Indicates if the setting is enabled or disabled.
permission - Indicates if the setting is enabled or disabled.UserSettingPermissionEnumpublic String getPermission()
Indicates if the setting is enabled or disabled.
UserSettingPermissionEnumpublic UserSetting withPermission(String permission)
Indicates if the setting is enabled or disabled.
permission - Indicates if the setting is enabled or disabled.UserSettingPermissionEnumpublic UserSetting withPermission(UserSettingPermissionEnum permission)
Indicates if the setting is enabled or disabled.
permission - Indicates if the setting is enabled or disabled.UserSettingPermissionEnumpublic void setMaximumLength(Integer maximumLength)
Indicates the maximum character length for the specified user setting.
maximumLength - Indicates the maximum character length for the specified user setting.public Integer getMaximumLength()
Indicates the maximum character length for the specified user setting.
public UserSetting withMaximumLength(Integer maximumLength)
Indicates the maximum character length for the specified user setting.
maximumLength - Indicates the maximum character length for the specified user setting.public 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.