public class CognitoEvent extends Object
Modifier and Type | Class and Description |
---|---|
static class |
CognitoEvent.DatasetRecord
DatasetRecord contains the information about each record in a data set.
|
Constructor and Description |
---|
CognitoEvent() |
Modifier and Type | Method and Description |
---|---|
String |
getDatasetName()
Gets the data set name of the event
|
Map<String,CognitoEvent.DatasetRecord> |
getDatasetRecords()
Gets the map of data set records for the event
|
String |
getEventType()
Gets the event type
|
String |
getIdentityId()
Gets the identity pool ID associated with the data set
|
String |
getIdentityPoolId()
Gets the identity pool ID associated with the data set
|
String |
getRegion()
Gets the region in which data set resides.
|
Integer |
getVersion()
Gets the event version
|
void |
setDatasetName(String datasetName)
Sets the data set name for the event
|
void |
setDatasetRecords(Map<String,CognitoEvent.DatasetRecord> datasetRecords)
Sets the map of data set records for the event
|
void |
setEventType(String eventType)
Sets the event type
|
void |
setIdentityId(String identityId)
Sets the identity pool ID associated with the data set
|
void |
setIdentityPoolId(String identityPoolId)
Sets the identity pool ID associated with the data set
|
void |
setRegion(String region)
Sets the region in which data set resides.
|
void |
setVersion(Integer version)
Sets the event version
|
public String getRegion()
public void setRegion(String region)
region
- A string containing a region namepublic Map<String,CognitoEvent.DatasetRecord> getDatasetRecords()
public void setDatasetRecords(Map<String,CognitoEvent.DatasetRecord> datasetRecords)
datasetRecords
- A map of string & data set record key/value pairspublic String getIdentityPoolId()
public void setIdentityPoolId(String identityPoolId)
identityPoolId
- A string containing the identity pool ID.public String getIdentityId()
public void setIdentityId(String identityId)
identityId
- A string containing the identity pool IDpublic String getDatasetName()
public void setDatasetName(String datasetName)
datasetName
- A string containing the data set namepublic String getEventType()
public void setEventType(String eventType)
eventType
- A string containing the event typepublic Integer getVersion()
public void setVersion(Integer version)
version
- An integer representing the event versionCopyright © 2015. All rights reserved.