public static interface InputSessionStateSpecification.Builder extends SdkPojo, CopyableBuilder<InputSessionStateSpecification.Builder,InputSessionStateSpecification>
| Modifier and Type | Method and Description |
|---|---|
InputSessionStateSpecification.Builder |
activeContexts(ActiveContext... activeContexts)
Active contexts for the session state.
|
InputSessionStateSpecification.Builder |
activeContexts(Collection<ActiveContext> activeContexts)
Active contexts for the session state.
|
InputSessionStateSpecification.Builder |
activeContexts(Consumer<ActiveContext.Builder>... activeContexts)
Active contexts for the session state.
|
default InputSessionStateSpecification.Builder |
runtimeHints(Consumer<RuntimeHints.Builder> runtimeHints)
Runtime hints for the session state.
|
InputSessionStateSpecification.Builder |
runtimeHints(RuntimeHints runtimeHints)
Runtime hints for the session state.
|
InputSessionStateSpecification.Builder |
sessionAttributes(Map<String,String> sessionAttributes)
Session attributes for the session state.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildInputSessionStateSpecification.Builder sessionAttributes(Map<String,String> sessionAttributes)
Session attributes for the session state.
sessionAttributes - Session attributes for the session state.InputSessionStateSpecification.Builder activeContexts(Collection<ActiveContext> activeContexts)
Active contexts for the session state.
activeContexts - Active contexts for the session state.InputSessionStateSpecification.Builder activeContexts(ActiveContext... activeContexts)
Active contexts for the session state.
activeContexts - Active contexts for the session state.InputSessionStateSpecification.Builder activeContexts(Consumer<ActiveContext.Builder>... activeContexts)
Active contexts for the session state.
This is a convenience method that creates an instance of theActiveContext.Builder avoiding the need to create
one manually via ActiveContext.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately
and its result is passed to #activeContexts(List.
activeContexts - a consumer that will call methods on
ActiveContext.Builder#activeContexts(java.util.Collection) InputSessionStateSpecification.Builder runtimeHints(RuntimeHints runtimeHints)
Runtime hints for the session state.
runtimeHints - Runtime hints for the session state.default InputSessionStateSpecification.Builder runtimeHints(Consumer<RuntimeHints.Builder> runtimeHints)
Runtime hints for the session state.
This is a convenience method that creates an instance of theRuntimeHints.Builder avoiding the need
to create one manually via RuntimeHints.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to runtimeHints(RuntimeHints).
runtimeHints - a consumer that will call methods on RuntimeHints.BuilderruntimeHints(RuntimeHints)Copyright © 2023. All rights reserved.