public class CognitoUserSettings
extends java.lang.Object
Constructor and Description |
---|
CognitoUserSettings()
Constructs an "empty" user settings object.
|
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,java.lang.String> |
getSettings()
Return user settings as key, value pairs.
|
void |
setSettings(java.lang.String attributeName,
java.lang.String option)
Sets user settings.
|
public CognitoUserSettings()
public java.util.Map<java.lang.String,java.lang.String> getSettings()
public void setSettings(java.lang.String attributeName, java.lang.String option)
Add a new setting for this user. This will override an earlier value set for an attribute in this object.
attributeName
- REQUIRED: User's attribute name, whose setting is being changedoption
- REQUIRED: The value of the setting.Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.