---
schema_version: "1"
id: c3ff9864c0a1dae0882c61d1cc4279aa12ac9fc7e664a953276f3732f88ebb4d
title: Interface RecordModificationResult
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/salesforce-functions/functions/guide/javasdk/interfaces/java-recordmodificationresult.md
canonical_url: https://developer.salesforce.com/docs/platform/functions/guide/java-recordmodificationresult.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: c2897fcdb856304770fb8f589a0c39fb35710d11808dd79ec84018173b880805
products:
  - Salesforce Functions
---
# Interface RecordModificationResult

------------------------------------------------------------------------

\@Immutable public interface RecordModificationResult

Represents the result of a record modification such as a create, delete,
or insert.

All implementations must be immutable and therefore thread-safe.

See Also: `DataApi.create(Record)`, `DataApi.update(Record)`,
`DataApi.delete(String, String)`, `DataApi.commitUnitOfWork(UnitOfWork)`

## Method Summary

| Modifier and Type  | Method    | Description                            |
| ------------------ | --------- | -------------------------------------- |
| `java.lang.String` | `getId()` | Returns the id of the modified record. |

## Method Details

### getId

\@Nonnull java.lang.String getId()

Returns the id of the modified record.

Returns: The id of the modified record.
