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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description StartSessionResult.BuildersessionToken(String sessionToken)Session token of the started session.default StartSessionResult.BuildertimingInformation(Consumer<TimingInformation.Builder> timingInformation)Contains server-side performance information for the command.StartSessionResult.BuildertimingInformation(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 Detail
-
sessionToken
StartSessionResult.Builder sessionToken(String sessionToken)
Session token of the started session. This
SessionTokenis required for every subsequent command that is issued during the current session.- Parameters:
sessionToken- Session token of the started session. ThisSessionTokenis 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
StartSessionResult.Builder timingInformation(TimingInformation 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.Builderavoiding the need to create one manually viaTimingInformation.builder().When the
Consumercompletes,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:
timingInformation(TimingInformation)
-
-