public class GetCognitoEventsResult extends Object implements Serializable, Cloneable
The response from the GetCognitoEvents request
| Constructor and Description |
|---|
GetCognitoEventsResult() |
| Modifier and Type | Method and Description |
|---|---|
GetCognitoEventsResult |
addEventsEntry(String key,
String value)
The Cognito Events returned from the GetCognitoEvents request
|
GetCognitoEventsResult |
clearEventsEntries()
Removes all the entries added into Events.
|
GetCognitoEventsResult |
clone() |
boolean |
equals(Object obj) |
Map<String,String> |
getEvents()
The Cognito Events returned from the GetCognitoEvents request
|
int |
hashCode() |
void |
setEvents(Map<String,String> events)
The Cognito Events returned from the GetCognitoEvents request
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
GetCognitoEventsResult |
withEvents(Map<String,String> events)
The Cognito Events returned from the GetCognitoEvents request
|
public Map<String,String> getEvents()
Constraints:
Length: 0 - 1
public void setEvents(Map<String,String> events)
Constraints:
Length: 0 - 1
events - The Cognito Events returned from the GetCognitoEvents requestpublic GetCognitoEventsResult withEvents(Map<String,String> events)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 1
events - The Cognito Events returned from the GetCognitoEvents requestpublic GetCognitoEventsResult addEventsEntry(String key, String value)
The method adds a new key-value pair into Events parameter, and returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 1
key - The key of the entry to be added into Events.value - The corresponding value of the entry to be added into Events.public GetCognitoEventsResult clearEventsEntries()
Returns a reference to this object so that method calls can be chained together.
public String toString()
toString in class ObjectObject.toString()public GetCognitoEventsResult clone()
Copyright © 2015. All rights reserved.