Interface Session.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Session.Builder,
,Session> SdkBuilder<Session.Builder,
,Session> SdkPojo
- Enclosing class:
Session
@Mutable
@NotThreadSafe
public static interface Session.Builder
extends SdkPojo, CopyableBuilder<Session.Builder,Session>
-
Method Summary
Modifier and TypeMethodDescriptionThe duration of the session, in milliseconds.The unique identifier for the session.startTimestamp
(String startTimestamp) The date and time when the session began.stopTimestamp
(String stopTimestamp) The date and time when the session ended.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
-
duration
The duration of the session, in milliseconds.
- Parameters:
duration
- The duration of the session, in milliseconds.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
id
The unique identifier for the session.
- Parameters:
id
- The unique identifier for the session.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
startTimestamp
The date and time when the session began.
- Parameters:
startTimestamp
- The date and time when the session began.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stopTimestamp
The date and time when the session ended.
- Parameters:
stopTimestamp
- The date and time when the session ended.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-