Interface RuntimeSessionData.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<RuntimeSessionData.Builder,
,RuntimeSessionData> SdkBuilder<RuntimeSessionData.Builder,
,RuntimeSessionData> SdkPojo
- Enclosing class:
RuntimeSessionData
@Mutable
@NotThreadSafe
public static interface RuntimeSessionData.Builder
extends SdkPojo, CopyableBuilder<RuntimeSessionData.Builder,RuntimeSessionData>
-
Method Summary
Modifier and TypeMethodDescriptionThe key of the data stored on the session.default RuntimeSessionData.Builder
The value of the data stored on the session.value
(RuntimeSessionDataValue value) The value of the data stored on the session.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, sdkFieldNameToField, sdkFields
-
Method Details
-
key
The key of the data stored on the session.
- Parameters:
key
- The key of the data stored on the session.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
value
The value of the data stored on the session.
- Parameters:
value
- The value of the data stored on the session.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
value
The value of the data stored on the session.
This is a convenience method that creates an instance of theRuntimeSessionDataValue.Builder
avoiding the need to create one manually viaRuntimeSessionDataValue.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tovalue(RuntimeSessionDataValue)
.- Parameters:
value
- a consumer that will call methods onRuntimeSessionDataValue.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-