public static interface SessionStatus.Builder extends SdkPojo, CopyableBuilder<SessionStatus.Builder,SessionStatus>
| Modifier and Type | Method and Description |
|---|---|
SessionStatus.Builder |
endDateTime(Instant endDateTime)
The date and time that the session ended.
|
SessionStatus.Builder |
idleSinceDateTime(Instant idleSinceDateTime)
The date and time starting at which the session became idle.
|
SessionStatus.Builder |
lastModifiedDateTime(Instant lastModifiedDateTime)
The most recent date and time that the session was modified.
|
SessionStatus.Builder |
startDateTime(Instant startDateTime)
The date and time that the session started.
|
SessionStatus.Builder |
state(SessionState state)
The state of the session.
|
SessionStatus.Builder |
state(String state)
The state of the session.
|
SessionStatus.Builder |
stateChangeReason(String stateChangeReason)
The reason for the session state change (for example, canceled because the session was terminated).
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildSessionStatus.Builder startDateTime(Instant startDateTime)
The date and time that the session started.
startDateTime - The date and time that the session started.SessionStatus.Builder lastModifiedDateTime(Instant lastModifiedDateTime)
The most recent date and time that the session was modified.
lastModifiedDateTime - The most recent date and time that the session was modified.SessionStatus.Builder endDateTime(Instant endDateTime)
The date and time that the session ended.
endDateTime - The date and time that the session ended.SessionStatus.Builder idleSinceDateTime(Instant idleSinceDateTime)
The date and time starting at which the session became idle. Can be empty if the session is not currently idle.
idleSinceDateTime - The date and time starting at which the session became idle. Can be empty if the session is not
currently idle.SessionStatus.Builder state(String state)
The state of the session. A description of each state follows.
CREATING - The session is being started, including acquiring resources.
CREATED - The session has been started.
IDLE - The session is able to accept a calculation.
BUSY - The session is processing another task and is unable to accept a calculation.
TERMINATING - The session is in the process of shutting down.
TERMINATED - The session and its resources are no longer running.
DEGRADED - The session has no healthy coordinators.
FAILED - Due to a failure, the session and its resources are no longer running.
state - The state of the session. A description of each state follows.
CREATING - The session is being started, including acquiring resources.
CREATED - The session has been started.
IDLE - The session is able to accept a calculation.
BUSY - The session is processing another task and is unable to accept a calculation.
TERMINATING - The session is in the process of shutting down.
TERMINATED - The session and its resources are no longer running.
DEGRADED - The session has no healthy coordinators.
FAILED - Due to a failure, the session and its resources are no longer running.
SessionState,
SessionStateSessionStatus.Builder state(SessionState state)
The state of the session. A description of each state follows.
CREATING - The session is being started, including acquiring resources.
CREATED - The session has been started.
IDLE - The session is able to accept a calculation.
BUSY - The session is processing another task and is unable to accept a calculation.
TERMINATING - The session is in the process of shutting down.
TERMINATED - The session and its resources are no longer running.
DEGRADED - The session has no healthy coordinators.
FAILED - Due to a failure, the session and its resources are no longer running.
state - The state of the session. A description of each state follows.
CREATING - The session is being started, including acquiring resources.
CREATED - The session has been started.
IDLE - The session is able to accept a calculation.
BUSY - The session is processing another task and is unable to accept a calculation.
TERMINATING - The session is in the process of shutting down.
TERMINATED - The session and its resources are no longer running.
DEGRADED - The session has no healthy coordinators.
FAILED - Due to a failure, the session and its resources are no longer running.
SessionState,
SessionStateSessionStatus.Builder stateChangeReason(String stateChangeReason)
The reason for the session state change (for example, canceled because the session was terminated).
stateChangeReason - The reason for the session state change (for example, canceled because the session was terminated).Copyright © 2023. All rights reserved.