@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpsertRowsResult extends Object implements Serializable, Cloneable, StructuredPojo
An object that represents the result of a single upsert row request.
Constructor and Description |
---|
UpsertRowsResult() |
Modifier and Type | Method and Description |
---|---|
UpsertRowsResult |
clone() |
boolean |
equals(Object obj) |
List<String> |
getRowIds()
The list of row ids that were changed as part of an upsert row operation.
|
String |
getUpsertAction()
The result of the upsert action.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setRowIds(Collection<String> rowIds)
The list of row ids that were changed as part of an upsert row operation.
|
void |
setUpsertAction(String upsertAction)
The result of the upsert action.
|
String |
toString()
Returns a string representation of this object.
|
UpsertRowsResult |
withRowIds(Collection<String> rowIds)
The list of row ids that were changed as part of an upsert row operation.
|
UpsertRowsResult |
withRowIds(String... rowIds)
The list of row ids that were changed as part of an upsert row operation.
|
UpsertRowsResult |
withUpsertAction(String upsertAction)
The result of the upsert action.
|
UpsertRowsResult |
withUpsertAction(UpsertAction upsertAction)
The result of the upsert action.
|
public List<String> getRowIds()
The list of row ids that were changed as part of an upsert row operation. If the upsert resulted in an update, this list could potentially contain multiple rows that matched the filter and hence got updated. If the upsert resulted in an append, this list would only have the single row that was appended.
public void setRowIds(Collection<String> rowIds)
The list of row ids that were changed as part of an upsert row operation. If the upsert resulted in an update, this list could potentially contain multiple rows that matched the filter and hence got updated. If the upsert resulted in an append, this list would only have the single row that was appended.
rowIds
- The list of row ids that were changed as part of an upsert row operation. If the upsert resulted in an
update, this list could potentially contain multiple rows that matched the filter and hence got updated.
If the upsert resulted in an append, this list would only have the single row that was appended.public UpsertRowsResult withRowIds(String... rowIds)
The list of row ids that were changed as part of an upsert row operation. If the upsert resulted in an update, this list could potentially contain multiple rows that matched the filter and hence got updated. If the upsert resulted in an append, this list would only have the single row that was appended.
NOTE: This method appends the values to the existing list (if any). Use
setRowIds(java.util.Collection)
or withRowIds(java.util.Collection)
if you want to override the
existing values.
rowIds
- The list of row ids that were changed as part of an upsert row operation. If the upsert resulted in an
update, this list could potentially contain multiple rows that matched the filter and hence got updated.
If the upsert resulted in an append, this list would only have the single row that was appended.public UpsertRowsResult withRowIds(Collection<String> rowIds)
The list of row ids that were changed as part of an upsert row operation. If the upsert resulted in an update, this list could potentially contain multiple rows that matched the filter and hence got updated. If the upsert resulted in an append, this list would only have the single row that was appended.
rowIds
- The list of row ids that were changed as part of an upsert row operation. If the upsert resulted in an
update, this list could potentially contain multiple rows that matched the filter and hence got updated.
If the upsert resulted in an append, this list would only have the single row that was appended.public void setUpsertAction(String upsertAction)
The result of the upsert action.
upsertAction
- The result of the upsert action.UpsertAction
public String getUpsertAction()
The result of the upsert action.
UpsertAction
public UpsertRowsResult withUpsertAction(String upsertAction)
The result of the upsert action.
upsertAction
- The result of the upsert action.UpsertAction
public UpsertRowsResult withUpsertAction(UpsertAction upsertAction)
The result of the upsert action.
upsertAction
- The result of the upsert action.UpsertAction
public String toString()
toString
in class Object
Object.toString()
public UpsertRowsResult clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.