Interface RuntimeSessionData.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<RuntimeSessionData.Builder,RuntimeSessionData>,SdkBuilder<RuntimeSessionData.Builder,RuntimeSessionData>,SdkPojo
- Enclosing class:
- RuntimeSessionData
public static interface RuntimeSessionData.Builder extends SdkPojo, CopyableBuilder<RuntimeSessionData.Builder,RuntimeSessionData>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description RuntimeSessionData.Builderkey(String key)The key of the data stored on the session.default RuntimeSessionData.Buildervalue(Consumer<RuntimeSessionDataValue.Builder> value)The value of the data stored on the session.RuntimeSessionData.Buildervalue(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 Detail
-
key
RuntimeSessionData.Builder key(String 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
RuntimeSessionData.Builder value(RuntimeSessionDataValue 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
default RuntimeSessionData.Builder value(Consumer<RuntimeSessionDataValue.Builder> value)
The value of the data stored on the session.
This is a convenience method that creates an instance of theRuntimeSessionDataValue.Builderavoiding the need to create one manually viaRuntimeSessionDataValue.builder().When the
Consumercompletes,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:
value(RuntimeSessionDataValue)
-
-