Interface StartSessionResult.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<StartSessionResult.Builder,
,StartSessionResult> SdkBuilder<StartSessionResult.Builder,
,StartSessionResult> SdkPojo
- Enclosing class:
StartSessionResult
public static interface StartSessionResult.Builder
extends SdkPojo, CopyableBuilder<StartSessionResult.Builder,StartSessionResult>
-
Method Summary
Modifier and TypeMethodDescriptionsessionToken
(String sessionToken) Session token of the started session.default StartSessionResult.Builder
timingInformation
(Consumer<TimingInformation.Builder> timingInformation) Contains server-side performance information for the command.timingInformation
(TimingInformation timingInformation) Contains server-side performance information for the command.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
-
sessionToken
Session token of the started session. This
SessionToken
is required for every subsequent command that is issued during the current session.- Parameters:
sessionToken
- Session token of the started session. ThisSessionToken
is required for every subsequent command that is issued during the current session.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
timingInformation
Contains server-side performance information for the command.
- Parameters:
timingInformation
- Contains server-side performance information for the command.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
timingInformation
default StartSessionResult.Builder timingInformation(Consumer<TimingInformation.Builder> timingInformation) Contains server-side performance information for the command.
This is a convenience method that creates an instance of theTimingInformation.Builder
avoiding the need to create one manually viaTimingInformation.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totimingInformation(TimingInformation)
.- Parameters:
timingInformation
- a consumer that will call methods onTimingInformation.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-