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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description InputSessionStateSpecification.BuilderactiveContexts(Collection<ActiveContext> activeContexts)Active contexts for the session state.InputSessionStateSpecification.BuilderactiveContexts(Consumer<ActiveContext.Builder>... activeContexts)Active contexts for the session state.InputSessionStateSpecification.BuilderactiveContexts(ActiveContext... activeContexts)Active contexts for the session state.default InputSessionStateSpecification.BuilderruntimeHints(Consumer<RuntimeHints.Builder> runtimeHints)Runtime hints for the session state.InputSessionStateSpecification.BuilderruntimeHints(RuntimeHints runtimeHints)Runtime hints for the session state.InputSessionStateSpecification.BuildersessionAttributes(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 Detail
-
sessionAttributes
InputSessionStateSpecification.Builder sessionAttributes(Map<String,String> 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
InputSessionStateSpecification.Builder activeContexts(Collection<ActiveContext> 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(ActiveContext... 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.Builderavoiding the need to create one manually viaActiveContext.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#activeContexts(List.) - 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:
#activeContexts(java.util.Collection)
-
runtimeHints
InputSessionStateSpecification.Builder runtimeHints(RuntimeHints 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.Builderavoiding the need to create one manually viaRuntimeHints.builder().When the
Consumercompletes,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:
runtimeHints(RuntimeHints)
-
-