toggle menu
sdk-java
2.5.0
jvm
switch theme
search in API
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
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
set
Headers
Link copied to clipboard
open
fun
setHeaders
(
@
Nullable
headers
:
@
Nullable
Map
<
String
,
String
>
)