Interface SessionConfig.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<SessionConfig.Builder,,SessionConfig> SdkBuilder<SessionConfig.Builder,,SessionConfig> SdkPojo
- Enclosing class:
SessionConfig
@Mutable
@NotThreadSafe
public static interface SessionConfig.Builder
extends SdkPojo, CopyableBuilder<SessionConfig.Builder,SessionConfig>
-
Method Summary
Modifier and TypeMethodDescriptiondefault SessionConfig.BuildersessionEndTimestamp(Consumer<TimeInNanos.Builder> sessionEndTimestamp) The nanosecond-precision end time of the session.sessionEndTimestamp(TimeInNanos sessionEndTimestamp) The nanosecond-precision end time of the session.default SessionConfig.BuildersessionStartTimestamp(Consumer<TimeInNanos.Builder> sessionStartTimestamp) The nanosecond-precision start time of the session.sessionStartTimestamp(TimeInNanos sessionStartTimestamp) The nanosecond-precision start time of the session.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
sessionStartTimestamp
The nanosecond-precision start time of the session.
- Parameters:
sessionStartTimestamp- The nanosecond-precision start time of the session.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sessionStartTimestamp
default SessionConfig.Builder sessionStartTimestamp(Consumer<TimeInNanos.Builder> sessionStartTimestamp) The nanosecond-precision start time of the session.
This is a convenience method that creates an instance of theTimeInNanos.Builderavoiding the need to create one manually viaTimeInNanos.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosessionStartTimestamp(TimeInNanos).- Parameters:
sessionStartTimestamp- a consumer that will call methods onTimeInNanos.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sessionEndTimestamp
The nanosecond-precision end time of the session.
- Parameters:
sessionEndTimestamp- The nanosecond-precision end time of the session.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sessionEndTimestamp
default SessionConfig.Builder sessionEndTimestamp(Consumer<TimeInNanos.Builder> sessionEndTimestamp) The nanosecond-precision end time of the session.
This is a convenience method that creates an instance of theTimeInNanos.Builderavoiding the need to create one manually viaTimeInNanos.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosessionEndTimestamp(TimeInNanos).- Parameters:
sessionEndTimestamp- a consumer that will call methods onTimeInNanos.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-