# Uses of Class
io.dapr.client.domain.StateOptions

Packages that use StateOptions
Package
Description
io.dapr.client
io.dapr.client.domain
io.dapr.spring.boot.autoconfigure.client
io.dapr.spring.boot4.autoconfigure.client

- ## Uses of StateOptions in io.dapr.client

  Methods in io.dapr.client with parameters of type StateOptions
  Modifier and Type
  Method
  Description
  `reactor.core.publisher.Mono<Void>`
  DaprClient.`deleteState(String storeName, String key, String etag, StateOptions options)`
  Delete a state.
  `<T> reactor.core.publisher.Mono<State<T>>`
  DaprClient.`getState(String storeName, String key, StateOptions options, TypeRef<T> type)`
  Retrieve a State based on their key.
  `<T> reactor.core.publisher.Mono<State<T>>`
  DaprClient.`getState(String storeName, String key, StateOptions options, Class<T> clazz)`
  Retrieve a State based on their key.
  `reactor.core.publisher.Mono<Void>`
  DaprClient.`saveState(String storeName, String key, String etag, Object value, StateOptions options)`
  Save/Update a state.
  `reactor.core.publisher.Mono<Void>`
  DaprClient.`saveState(String storeName, String key, String etag, Object value, Map<String,String> meta, StateOptions options)`
  Save/Update a state.

- ## Uses of StateOptions in io.dapr.client.domain

  Methods in io.dapr.client.domain that return StateOptions
  Modifier and Type
  Method
  Description
  `StateOptions`
  State.`getOptions()`
  Retrieve the Options used for saving the state.
  `StateOptions`
  DeleteStateRequest.`getStateOptions()`
  `StateOptions`
  GetStateRequest.`getStateOptions()`
  Methods in io.dapr.client.domain with parameters of type StateOptions
  Modifier and Type
  Method
  Description
  `DeleteStateRequest`
  DeleteStateRequest.`setStateOptions(StateOptions stateOptions)`
  `GetStateRequest`
  GetStateRequest.`setStateOptions(StateOptions stateOptions)`
  Constructors in io.dapr.client.domain with parameters of type StateOptions
  Modifier
  Constructor
  Description
  ``
  `State(String key, String etag, StateOptions options)`
  Create an immutable state reference to be retrieved or deleted.
  ``
  `State(String key, T value, String etag, StateOptions options)`
  Create an immutable state.
  ``
  `State(String key, T value, String etag, Map<String,String> metadata, StateOptions options)`
  Create an immutable state.

- ## Uses of StateOptions in io.dapr.spring.boot.autoconfigure.client

  Methods in io.dapr.spring.boot.autoconfigure.client with parameters of type StateOptions
  Modifier and Type
  Method
  Description
  `reactor.core.publisher.Mono<Void>`
  ObservationDaprClient.`deleteState(String storeName, String key, String etag, StateOptions options)`
  `<T> reactor.core.publisher.Mono<State<T>>`
  ObservationDaprClient.`getState(String storeName, String key, StateOptions options, TypeRef<T> type)`
  `<T> reactor.core.publisher.Mono<State<T>>`
  ObservationDaprClient.`getState(String storeName, String key, StateOptions options, Class<T> clazz)`
  `reactor.core.publisher.Mono<Void>`
  ObservationDaprClient.`saveState(String storeName, String key, String etag, Object value, StateOptions options)`
  `reactor.core.publisher.Mono<Void>`
  ObservationDaprClient.`saveState(String storeName, String key, String etag, Object value, Map<String,String> meta, StateOptions options)`

- ## Uses of StateOptions in io.dapr.spring.boot4.autoconfigure.client

  Methods in io.dapr.spring.boot4.autoconfigure.client with parameters of type StateOptions
  Modifier and Type
  Method
  Description
  `reactor.core.publisher.Mono<Void>`
  ObservationDaprClient.`deleteState(String storeName, String key, String etag, StateOptions options)`
  `<T> reactor.core.publisher.Mono<State<T>>`
  ObservationDaprClient.`getState(String storeName, String key, StateOptions options, TypeRef<T> type)`
  `<T> reactor.core.publisher.Mono<State<T>>`
  ObservationDaprClient.`getState(String storeName, String key, StateOptions options, Class<T> clazz)`
  `reactor.core.publisher.Mono<Void>`
  ObservationDaprClient.`saveState(String storeName, String key, String etag, Object value, StateOptions options)`
  `reactor.core.publisher.Mono<Void>`
  ObservationDaprClient.`saveState(String storeName, String key, String etag, Object value, Map<String,String> meta, StateOptions options)`