public class UpdateRecordsRequest extends AmazonWebServiceRequest implements Serializable
UpdateRecords operation
.
Posts updates to records and add and delete records for a dataset and user.
NOOP
Constructor and Description |
---|
UpdateRecordsRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getClientContext()
Returns the value of the ClientContext property for this object.
|
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.
|
List<RecordPatch> |
getRecordPatches() |
String |
getSyncSessionToken()
The SyncSessionToken returned by a previous call to ListRecords for
this dataset and identity.
|
int |
hashCode() |
void |
setClientContext(String clientContext)
Sets the value of the ClientContext property for this object.
|
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 |
setRecordPatches(Collection<RecordPatch> recordPatches) |
void |
setSyncSessionToken(String syncSessionToken)
The SyncSessionToken returned by a previous call to ListRecords for
this dataset and identity.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
UpdateRecordsRequest |
withClientContext(String clientContext)
Sets the value of the ClientContext property for this object.
|
UpdateRecordsRequest |
withDatasetName(String datasetName)
A string of up to 128 characters.
|
UpdateRecordsRequest |
withIdentityId(String identityId)
A name-spaced GUID (for example,
us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon
Cognito.
|
UpdateRecordsRequest |
withIdentityPoolId(String identityPoolId)
A name-spaced GUID (for example,
us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon
Cognito.
|
UpdateRecordsRequest |
withRecordPatches(Collection<RecordPatch> recordPatches)
Returns a reference to this object so that method calls can be chained together.
|
UpdateRecordsRequest |
withRecordPatches(RecordPatch... recordPatches)
Returns a reference to this object so that method calls can be chained together.
|
UpdateRecordsRequest |
withSyncSessionToken(String syncSessionToken)
The SyncSessionToken returned by a previous call to ListRecords for
this dataset and identity.
|
copyPrivateRequestParameters, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public 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 UpdateRecordsRequest 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 UpdateRecordsRequest 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 UpdateRecordsRequest 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 List<RecordPatch> getRecordPatches()
public void setRecordPatches(Collection<RecordPatch> recordPatches)
recordPatches
- public UpdateRecordsRequest withRecordPatches(RecordPatch... recordPatches)
Returns a reference to this object so that method calls can be chained together.
recordPatches
- public UpdateRecordsRequest withRecordPatches(Collection<RecordPatch> recordPatches)
Returns a reference to this object so that method calls can be chained together.
recordPatches
- public String getSyncSessionToken()
public void setSyncSessionToken(String syncSessionToken)
syncSessionToken
- The SyncSessionToken returned by a previous call to ListRecords for
this dataset and identity.public UpdateRecordsRequest withSyncSessionToken(String syncSessionToken)
Returns a reference to this object so that method calls can be chained together.
syncSessionToken
- The SyncSessionToken returned by a previous call to ListRecords for
this dataset and identity.public String getClientContext()
public void setClientContext(String clientContext)
clientContext
- The new value for the ClientContext property for this object.public UpdateRecordsRequest withClientContext(String clientContext)
Returns a reference to this object so that method calls can be chained together.
clientContext
- The new value for the ClientContext property for this object.public String toString()
toString
in class Object
Object.toString()
Copyright © 2014. All rights reserved.