public class ListRecordsRequest extends AmazonWebServiceRequest implements Serializable
ListRecords operation.
Gets paginated records, optionally changed after a particular sync count for a dataset and identity.
NOOP| Constructor and Description |
|---|
ListRecordsRequest() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getDatasetName()
A string of up to 128 characters.
|
String |
getIdentityId()
A name-spaced GUID (for example,
us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon
Cognito.
|
String |
getIdentityPoolId()
A name-spaced GUID (for example,
us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon
Cognito.
|
Long |
getLastSyncCount()
The last server sync count for this record.
|
Integer |
getMaxResults()
The maximum number of results to be returned.
|
String |
getNextToken()
A pagination token for obtaining the next page of results.
|
String |
getSyncSessionToken()
A token containing a session ID, identity ID, and expiration.
|
int |
hashCode() |
void |
setDatasetName(String datasetName)
A string of up to 128 characters.
|
void |
setIdentityId(String identityId)
A name-spaced GUID (for example,
us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon
Cognito.
|
void |
setIdentityPoolId(String identityPoolId)
A name-spaced GUID (for example,
us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon
Cognito.
|
void |
setLastSyncCount(Long lastSyncCount)
The last server sync count for this record.
|
void |
setMaxResults(Integer maxResults)
The maximum number of results to be returned.
|
void |
setNextToken(String nextToken)
A pagination token for obtaining the next page of results.
|
void |
setSyncSessionToken(String syncSessionToken)
A token containing a session ID, identity ID, and expiration.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListRecordsRequest |
withDatasetName(String datasetName)
A string of up to 128 characters.
|
ListRecordsRequest |
withIdentityId(String identityId)
A name-spaced GUID (for example,
us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon
Cognito.
|
ListRecordsRequest |
withIdentityPoolId(String identityPoolId)
A name-spaced GUID (for example,
us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon
Cognito.
|
ListRecordsRequest |
withLastSyncCount(Long lastSyncCount)
The last server sync count for this record.
|
ListRecordsRequest |
withMaxResults(Integer maxResults)
The maximum number of results to be returned.
|
ListRecordsRequest |
withNextToken(String nextToken)
A pagination token for obtaining the next page of results.
|
ListRecordsRequest |
withSyncSessionToken(String syncSessionToken)
A token containing a session ID, identity ID, and expiration.
|
copyPrivateRequestParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic String getIdentityPoolId()
Constraints:
Length: 1 - 50
Pattern: [\w-]+:[0-9a-f-]+
public void setIdentityPoolId(String identityPoolId)
Constraints:
Length: 1 - 50
Pattern: [\w-]+:[0-9a-f-]+
identityPoolId - A name-spaced GUID (for example,
us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon
Cognito. GUID generation is unique within a region.public ListRecordsRequest withIdentityPoolId(String identityPoolId)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 50
Pattern: [\w-]+:[0-9a-f-]+
identityPoolId - A name-spaced GUID (for example,
us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon
Cognito. GUID generation is unique within a region.public String getIdentityId()
Constraints:
Length: 1 - 50
Pattern: [\w-]+:[0-9a-f-]+
public void setIdentityId(String identityId)
Constraints:
Length: 1 - 50
Pattern: [\w-]+:[0-9a-f-]+
identityId - A name-spaced GUID (for example,
us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon
Cognito. GUID generation is unique within a region.public ListRecordsRequest withIdentityId(String identityId)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 50
Pattern: [\w-]+:[0-9a-f-]+
identityId - A name-spaced GUID (for example,
us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon
Cognito. GUID generation is unique within a region.public String getDatasetName()
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9_.:-]+
public void setDatasetName(String datasetName)
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9_.:-]+
datasetName - A string of up to 128 characters. Allowed characters are a-z, A-Z,
0-9, '_' (underscore), '-' (dash), and '.' (dot).public ListRecordsRequest withDatasetName(String datasetName)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9_.:-]+
datasetName - A string of up to 128 characters. Allowed characters are a-z, A-Z,
0-9, '_' (underscore), '-' (dash), and '.' (dot).public Long getLastSyncCount()
Constraints:
Length: 0 - 19
Pattern: \d+
public void setLastSyncCount(Long lastSyncCount)
Constraints:
Length: 0 - 19
Pattern: \d+
lastSyncCount - The last server sync count for this record.public ListRecordsRequest withLastSyncCount(Long lastSyncCount)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 19
Pattern: \d+
lastSyncCount - The last server sync count for this record.public String getNextToken()
public void setNextToken(String nextToken)
nextToken - A pagination token for obtaining the next page of results.public ListRecordsRequest withNextToken(String nextToken)
Returns a reference to this object so that method calls can be chained together.
nextToken - A pagination token for obtaining the next page of results.public Integer getMaxResults()
Constraints:
Length: 0 - 19
Pattern: \d+
public void setMaxResults(Integer maxResults)
Constraints:
Length: 0 - 19
Pattern: \d+
maxResults - The maximum number of results to be returned.public ListRecordsRequest withMaxResults(Integer maxResults)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 19
Pattern: \d+
maxResults - The maximum number of results to be returned.public String getSyncSessionToken()
public void setSyncSessionToken(String syncSessionToken)
syncSessionToken - A token containing a session ID, identity ID, and expiration.public ListRecordsRequest withSyncSessionToken(String syncSessionToken)
Returns a reference to this object so that method calls can be chained together.
syncSessionToken - A token containing a session ID, identity ID, and expiration.public String toString()
toString in class ObjectObject.toString()Copyright © 2014. All rights reserved.