public class UpdateRecordsRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
clientContext
Intended to supply a device ID that will populate the lastModifiedBy
field referenced in other methods.
|
private java.lang.String |
datasetName
A string of up to 128 characters.
|
private java.lang.String |
deviceId
The unique ID generated for this device by Cognito.
|
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 SdkInternalList<RecordPatch> |
recordPatches
A list of patch operations.
|
private java.lang.String |
syncSessionToken
The SyncSessionToken returned by a previous call to ListRecords for this
dataset and identity.
|
NOOP
Constructor and Description |
---|
UpdateRecordsRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateRecordsRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getClientContext()
Intended to supply a device ID that will populate the lastModifiedBy
field referenced in other methods.
|
java.lang.String |
getDatasetName()
A string of up to 128 characters.
|
java.lang.String |
getDeviceId()
The unique ID generated for this device by Cognito.
|
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.util.List<RecordPatch> |
getRecordPatches()
A list of patch operations.
|
java.lang.String |
getSyncSessionToken()
The SyncSessionToken returned by a previous call to ListRecords for this
dataset and identity.
|
int |
hashCode() |
void |
setClientContext(java.lang.String clientContext)
Intended to supply a device ID that will populate the lastModifiedBy
field referenced in other methods.
|
void |
setDatasetName(java.lang.String datasetName)
A string of up to 128 characters.
|
void |
setDeviceId(java.lang.String deviceId)
The unique ID generated for this device by Cognito.
|
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 |
setRecordPatches(java.util.Collection<RecordPatch> recordPatches)
A list of patch operations.
|
void |
setSyncSessionToken(java.lang.String syncSessionToken)
The SyncSessionToken returned by a previous call to ListRecords for this
dataset and identity.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
UpdateRecordsRequest |
withClientContext(java.lang.String clientContext)
Intended to supply a device ID that will populate the lastModifiedBy
field referenced in other methods.
|
UpdateRecordsRequest |
withDatasetName(java.lang.String datasetName)
A string of up to 128 characters.
|
UpdateRecordsRequest |
withDeviceId(java.lang.String deviceId)
The unique ID generated for this device by Cognito.
|
UpdateRecordsRequest |
withIdentityId(java.lang.String identityId)
A name-spaced GUID (for example,
us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon
Cognito.
|
UpdateRecordsRequest |
withIdentityPoolId(java.lang.String identityPoolId)
A name-spaced GUID (for example,
us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon
Cognito.
|
UpdateRecordsRequest |
withRecordPatches(java.util.Collection<RecordPatch> recordPatches)
A list of patch operations.
|
UpdateRecordsRequest |
withRecordPatches(RecordPatch... recordPatches)
A list of patch operations.
|
UpdateRecordsRequest |
withSyncSessionToken(java.lang.String syncSessionToken)
The SyncSessionToken returned by a previous call to ListRecords for this
dataset and identity.
|
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.String deviceId
The unique ID generated for this device by Cognito.
private SdkInternalList<RecordPatch> recordPatches
private java.lang.String syncSessionToken
private java.lang.String clientContext
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 UpdateRecordsRequest 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 UpdateRecordsRequest 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 UpdateRecordsRequest 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 setDeviceId(java.lang.String deviceId)
The unique ID generated for this device by Cognito.
deviceId
- The unique ID generated for this device by Cognito.public java.lang.String getDeviceId()
The unique ID generated for this device by Cognito.
public UpdateRecordsRequest withDeviceId(java.lang.String deviceId)
The unique ID generated for this device by Cognito.
deviceId
- The unique ID generated for this device by Cognito.public java.util.List<RecordPatch> getRecordPatches()
public void setRecordPatches(java.util.Collection<RecordPatch> recordPatches)
recordPatches
- A list of patch operations.public UpdateRecordsRequest withRecordPatches(RecordPatch... recordPatches)
NOTE: This method appends the values to the existing list (if
any). Use setRecordPatches(java.util.Collection)
or
withRecordPatches(java.util.Collection)
if you want to override
the existing values.
recordPatches
- A list of patch operations.public UpdateRecordsRequest withRecordPatches(java.util.Collection<RecordPatch> recordPatches)
recordPatches
- A list of patch operations.public void setSyncSessionToken(java.lang.String syncSessionToken)
syncSessionToken
- The SyncSessionToken returned by a previous call to ListRecords
for this dataset and identity.public java.lang.String getSyncSessionToken()
public UpdateRecordsRequest withSyncSessionToken(java.lang.String syncSessionToken)
syncSessionToken
- The SyncSessionToken returned by a previous call to ListRecords
for this dataset and identity.public void setClientContext(java.lang.String clientContext)
clientContext
- Intended to supply a device ID that will populate the
lastModifiedBy field referenced in other methods. The
ClientContext field is not yet implemented.public java.lang.String getClientContext()
public UpdateRecordsRequest withClientContext(java.lang.String clientContext)
clientContext
- Intended to supply a device ID that will populate the
lastModifiedBy field referenced in other methods. The
ClientContext field is not yet implemented.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 UpdateRecordsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()