public static class CognitoEvent.DatasetRecord extends Object implements Serializable, Cloneable
Constructor and Description |
---|
DatasetRecord()
default constructor
(Not available in v1)
|
Modifier and Type | Method and Description |
---|---|
CognitoEvent.DatasetRecord |
clone() |
boolean |
equals(Object obj) |
String |
getNewValue()
Gets the record's new value
|
String |
getOldValue()
Get the record's old value
|
String |
getOp()
Gets the operation associated with the record
|
int |
hashCode() |
void |
setNewValue(String newValue)
Sets the records new value
|
void |
setOldValue(String oldValue)
Sets the record's old value
|
void |
setOp(String op)
Sets the operation associated with the record
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
CognitoEvent.DatasetRecord |
withNewValue(String newValue) |
CognitoEvent.DatasetRecord |
withOldValue(String oldValue) |
CognitoEvent.DatasetRecord |
withOp(String op) |
public String getOldValue()
public void setOldValue(String oldValue)
oldValue
- A string containing the old valuepublic CognitoEvent.DatasetRecord withOldValue(String oldValue)
oldValue
- String with old valuepublic String getNewValue()
public void setNewValue(String newValue)
newValue
- A string containing the new valuepublic CognitoEvent.DatasetRecord withNewValue(String newValue)
newValue
- new value for recordpublic String getOp()
public void setOp(String op)
op
- A string with a value of "replace" of "remove"public CognitoEvent.DatasetRecord withOp(String op)
op
- String operationpublic String toString()
toString
in class Object
Object.toString()
public CognitoEvent.DatasetRecord clone()
Copyright © 2020. All rights reserved.