public class ListRecordsRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
datasetName
A string of up to 128 characters.
|
private java.lang.String |
identityId
A name-spaced GUID (for example,
us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon
Cognito.
|
private java.lang.String |
identityPoolId
A name-spaced GUID (for example,
us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon
Cognito.
|
private java.lang.Long |
lastSyncCount
The last server sync count for this record.
|
private java.lang.Integer |
maxResults
The maximum number of results to be returned.
|
private java.lang.String |
nextToken
A pagination token for obtaining the next page of results.
|
private java.lang.String |
syncSessionToken
A token containing a session ID, identity ID, and expiration.
|
NOOP
Constructor and Description |
---|
ListRecordsRequest() |
Modifier and Type | Method and Description |
---|---|
ListRecordsRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getDatasetName()
A string of up to 128 characters.
|
java.lang.String |
getIdentityId()
A name-spaced GUID (for example,
us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon
Cognito.
|
java.lang.String |
getIdentityPoolId()
A name-spaced GUID (for example,
us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon
Cognito.
|
java.lang.Long |
getLastSyncCount()
The last server sync count for this record.
|
java.lang.Integer |
getMaxResults()
The maximum number of results to be returned.
|
java.lang.String |
getNextToken()
A pagination token for obtaining the next page of results.
|
java.lang.String |
getSyncSessionToken()
A token containing a session ID, identity ID, and expiration.
|
int |
hashCode() |
void |
setDatasetName(java.lang.String datasetName)
A string of up to 128 characters.
|
void |
setIdentityId(java.lang.String identityId)
A name-spaced GUID (for example,
us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon
Cognito.
|
void |
setIdentityPoolId(java.lang.String identityPoolId)
A name-spaced GUID (for example,
us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon
Cognito.
|
void |
setLastSyncCount(java.lang.Long lastSyncCount)
The last server sync count for this record.
|
void |
setMaxResults(java.lang.Integer maxResults)
The maximum number of results to be returned.
|
void |
setNextToken(java.lang.String nextToken)
A pagination token for obtaining the next page of results.
|
void |
setSyncSessionToken(java.lang.String syncSessionToken)
A token containing a session ID, identity ID, and expiration.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListRecordsRequest |
withDatasetName(java.lang.String datasetName)
A string of up to 128 characters.
|
ListRecordsRequest |
withIdentityId(java.lang.String identityId)
A name-spaced GUID (for example,
us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon
Cognito.
|
ListRecordsRequest |
withIdentityPoolId(java.lang.String identityPoolId)
A name-spaced GUID (for example,
us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon
Cognito.
|
ListRecordsRequest |
withLastSyncCount(java.lang.Long lastSyncCount)
The last server sync count for this record.
|
ListRecordsRequest |
withMaxResults(java.lang.Integer maxResults)
The maximum number of results to be returned.
|
ListRecordsRequest |
withNextToken(java.lang.String nextToken)
A pagination token for obtaining the next page of results.
|
ListRecordsRequest |
withSyncSessionToken(java.lang.String syncSessionToken)
A token containing a session ID, identity ID, and expiration.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
private java.lang.String identityPoolId
private java.lang.String identityId
private java.lang.String datasetName
private java.lang.Long lastSyncCount
private java.lang.String nextToken
private java.lang.Integer maxResults
private java.lang.String syncSessionToken
public void setIdentityPoolId(java.lang.String identityPoolId)
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 java.lang.String getIdentityPoolId()
public ListRecordsRequest withIdentityPoolId(java.lang.String identityPoolId)
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 void setIdentityId(java.lang.String identityId)
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 java.lang.String getIdentityId()
public ListRecordsRequest withIdentityId(java.lang.String identityId)
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 void setDatasetName(java.lang.String datasetName)
datasetName
- A string of up to 128 characters. Allowed characters are a-z, A-Z,
0-9, '_' (underscore), '-' (dash), and '.' (dot).public java.lang.String getDatasetName()
public ListRecordsRequest withDatasetName(java.lang.String datasetName)
datasetName
- A string of up to 128 characters. Allowed characters are a-z, A-Z,
0-9, '_' (underscore), '-' (dash), and '.' (dot).public void setLastSyncCount(java.lang.Long lastSyncCount)
lastSyncCount
- The last server sync count for this record.public java.lang.Long getLastSyncCount()
public ListRecordsRequest withLastSyncCount(java.lang.Long lastSyncCount)
lastSyncCount
- The last server sync count for this record.public void setNextToken(java.lang.String nextToken)
nextToken
- A pagination token for obtaining the next page of results.public java.lang.String getNextToken()
public ListRecordsRequest withNextToken(java.lang.String nextToken)
nextToken
- A pagination token for obtaining the next page of results.public void setMaxResults(java.lang.Integer maxResults)
maxResults
- The maximum number of results to be returned.public java.lang.Integer getMaxResults()
public ListRecordsRequest withMaxResults(java.lang.Integer maxResults)
maxResults
- The maximum number of results to be returned.public void setSyncSessionToken(java.lang.String syncSessionToken)
syncSessionToken
- A token containing a session ID, identity ID, and expiration.public java.lang.String getSyncSessionToken()
public ListRecordsRequest withSyncSessionToken(java.lang.String syncSessionToken)
syncSessionToken
- A token containing a session ID, identity ID, and expiration.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public ListRecordsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()