sdk-java
Toggle table of contents
2.9.4
jvm
Target filter
jvm
Switch theme
Search in API
Skip to content
sdk-java
common
/
dev.restate.common
/
InvocationOptions
/
Builder
Builder
class
Builder
Members
Properties
idempotency
Key
Link copied to clipboard
@
Nullable
@get:
Nullable
open
var
idempotencyKey
:
@
Nullable
String
limit
Key
Link copied to clipboard
@
Nullable
@get:
ApiStatus.Experimental
@get:
Nullable
@set:
ApiStatus.Experimental
open
var
limitKey
:
@
Nullable
String
Functions
build
Link copied to clipboard
open
fun
build
(
)
:
InvocationOptions
get
Headers
Link copied to clipboard
@
Nullable
open
fun
getHeaders
(
)
:
@
Nullable
Map
<
String
,
String
>
header
Link copied to clipboard
open
fun
header
(
key
:
String
,
value
:
String
)
:
InvocationOptions.Builder
Append this header to the list of configured headers.
headers
Link copied to clipboard
open
fun
headers
(
newHeaders
:
Map
<
String
,
String
>
)
:
InvocationOptions.Builder
Append the given header map to the list of headers.
idempotency
Key
Link copied to clipboard
open
fun
idempotencyKey
(
idempotencyKey
:
String
)
:
InvocationOptions.Builder
limit
Key
Link copied to clipboard
@
ApiStatus.Experimental
open
fun
limitKey
(
limitKey
:
String
)
:
InvocationOptions.Builder
PREVIEW:
Limit key to use within the scope.
set
Headers
Link copied to clipboard
open
fun
setHeaders
(
@
Nullable
headers
:
@
Nullable
Map
<
String
,
String
>
)