Interface InputSessionStateSpecification.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<InputSessionStateSpecification.Builder,
,InputSessionStateSpecification> SdkBuilder<InputSessionStateSpecification.Builder,
,InputSessionStateSpecification> SdkPojo
- Enclosing class:
InputSessionStateSpecification
public static interface InputSessionStateSpecification.Builder
extends SdkPojo, CopyableBuilder<InputSessionStateSpecification.Builder,InputSessionStateSpecification>
-
Method Summary
Modifier and TypeMethodDescriptionactiveContexts
(Collection<ActiveContext> activeContexts) Active contexts for the session state.activeContexts
(Consumer<ActiveContext.Builder>... activeContexts) Active contexts for the session state.activeContexts
(ActiveContext... activeContexts) Active contexts for the session state.runtimeHints
(Consumer<RuntimeHints.Builder> runtimeHints) Runtime hints for the session state.runtimeHints
(RuntimeHints runtimeHints) Runtime hints for the session state.sessionAttributes
(Map<String, String> sessionAttributes) Session attributes for the session state.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
sessionAttributes
Session attributes for the session state.
- Parameters:
sessionAttributes
- Session attributes for the session state.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
activeContexts
Active contexts for the session state.
- Parameters:
activeContexts
- Active contexts for the session state.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
activeContexts
Active contexts for the session state.
- Parameters:
activeContexts
- Active contexts for the session state.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
activeContexts
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 viaActiveContext.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toactiveContexts(List<ActiveContext>)
.- Parameters:
activeContexts
- a consumer that will call methods onActiveContext.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
runtimeHints
Runtime hints for the session state.
- Parameters:
runtimeHints
- Runtime hints for the session state.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
runtimeHints
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 viaRuntimeHints.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toruntimeHints(RuntimeHints)
.- Parameters:
runtimeHints
- a consumer that will call methods onRuntimeHints.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-