# SaveObservationsOptions

Canonical page: https://docs.ovok.com/java-sdk/reference/save-observations-options

```java
public record SaveObservationsOptions(RequestOptions requestOptions, List<String> identifierSystems, boolean replace)
```

Options for saving observations through [`MeasurementsResource`](/java-sdk/reference/measurements-resource).

**Components:**

- `requestOptions`: per-request options; `null` means defaults
- `identifierSystems`: extra identifier systems that identify one reading; `null` means none
- `replace`: `true` replaces an existing reading with the same identifier instead of skipping it

## Constructors [#constructors]

### SaveObservationsOptions [#saveobservationsoptions]

```java
public SaveObservationsOptions(
        RequestOptions requestOptions,
        List<String> identifierSystems,
        boolean replace)
```

Creates options, replacing `null` values with defaults.

**Parameters:**

- `requestOptions`: per-request options; `null` means defaults
- `identifierSystems`: extra identifier systems that identify one reading; `null` means none
- `replace`: `true` replaces an existing reading with the same identifier instead of skipping it

## Methods [#methods]

### defaults [#defaults]

```java
public static SaveObservationsOptions defaults()
```

Returns default options: no extra identifier systems, no replace.

**Returns:** the default options
