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

Packages that use StateOptions
Package | Description
--- | ---
io.dapr.client |
io.dapr.client.domain |

- ## 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<java.lang.Void>` | DaprClient.`deleteState​(java.lang.String stateStoreName, java.lang.String key, java.lang.String etag, StateOptions options)` | Delete a state.
  `reactor.core.publisher.Mono<java.lang.Void>` | DaprClientGrpc.`deleteState​(java.lang.String stateStoreName, java.lang.String key, java.lang.String etag, StateOptions options)` | Delete a state.
  `reactor.core.publisher.Mono<java.lang.Void>` | DaprClientHttp.`deleteState​(java.lang.String stateStoreName, java.lang.String key, java.lang.String etag, StateOptions options)` | Delete a state.
  `<T> reactor.core.publisher.Mono<State<T>>` | DaprClient.`getState​(java.lang.String stateStoreName, java.lang.String key, java.lang.String etag, StateOptions options, TypeRef<T> type)` | Retrieve a State based on their key.
  `<T> reactor.core.publisher.Mono<State<T>>` | DaprClient.`getState​(java.lang.String stateStoreName, java.lang.String key, java.lang.String etag, StateOptions options, java.lang.Class<T> clazz)` | Retrieve a State based on their key.
  `<T> reactor.core.publisher.Mono<State<T>>` | DaprClientGrpc.`getState​(java.lang.String stateStoreName, java.lang.String key, java.lang.String etag, StateOptions options, TypeRef<T> type)` | Retrieve a State based on their key.
  `<T> reactor.core.publisher.Mono<State<T>>` | DaprClientGrpc.`getState​(java.lang.String stateStoreName, java.lang.String key, java.lang.String etag, StateOptions options, java.lang.Class<T> clazz)` | Retrieve a State based on their key.
  `<T> reactor.core.publisher.Mono<State<T>>` | DaprClientHttp.`getState​(java.lang.String stateStoreName, java.lang.String key, java.lang.String etag, StateOptions options, TypeRef<T> type)` | Retrieve a State based on their key.
  `<T> reactor.core.publisher.Mono<State<T>>` | DaprClientHttp.`getState​(java.lang.String stateStoreName, java.lang.String key, java.lang.String etag, StateOptions options, java.lang.Class<T> clazz)` |
  `reactor.core.publisher.Mono<java.lang.Void>` | DaprClient.`saveState​(java.lang.String stateStoreName, java.lang.String key, java.lang.String etag, java.lang.Object value, StateOptions options)` | Save/Update a state.
  `reactor.core.publisher.Mono<java.lang.Void>` | DaprClientGrpc.`saveState​(java.lang.String stateStoreName, java.lang.String key, java.lang.String etag, java.lang.Object value, StateOptions options)` | Save/Update a state.
  `reactor.core.publisher.Mono<java.lang.Void>` | DaprClientHttp.`saveState​(java.lang.String stateStoreName, java.lang.String key, java.lang.String etag, java.lang.Object value, 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.

  Constructors in io.dapr.client.domain with parameters of type StateOptions
  Constructor | Description
  --- | ---
  `State​(java.lang.String key, java.lang.String etag, StateOptions options)` | Create an inmutable state This Constructor MUST be used anytime you need to retrieve or delete a State.
  `State​(T value, java.lang.String key, java.lang.String etag, StateOptions options)` | Create an inmutable state.