public static interface StartSessionResult.Builder extends SdkPojo, CopyableBuilder<StartSessionResult.Builder,StartSessionResult>
| Modifier and Type | Method and Description |
|---|---|
StartSessionResult.Builder |
sessionToken(String sessionToken)
Session token of the started session.
|
default StartSessionResult.Builder |
timingInformation(Consumer<TimingInformation.Builder> timingInformation)
Contains server-side performance information for the command.
|
StartSessionResult.Builder |
timingInformation(TimingInformation timingInformation)
Contains server-side performance information for the command.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildStartSessionResult.Builder sessionToken(String sessionToken)
Session token of the started session. This SessionToken is required for every subsequent command
that is issued during the current session.
sessionToken - Session token of the started session. This SessionToken is required for every subsequent
command that is issued during the current session.StartSessionResult.Builder timingInformation(TimingInformation timingInformation)
Contains server-side performance information for the command.
timingInformation - Contains server-side performance information for the command.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 via TimingInformation.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to timingInformation(TimingInformation).timingInformation - a consumer that will call methods on TimingInformation.BuildertimingInformation(TimingInformation)Copyright © 2022. All rights reserved.