@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SessionStatus extends Object implements Serializable, Cloneable, StructuredPojo
Contains information about the status of a session.
Constructor and Description |
---|
SessionStatus() |
Modifier and Type | Method and Description |
---|---|
SessionStatus |
clone() |
boolean |
equals(Object obj) |
Date |
getEndDateTime()
The date and time that the session ended.
|
Date |
getIdleSinceDateTime()
The date and time starting at which the session became idle.
|
Date |
getLastModifiedDateTime()
The most recent date and time that the session was modified.
|
Date |
getStartDateTime()
The date and time that the session started.
|
String |
getState()
The state of the session.
|
String |
getStateChangeReason()
The reason for the session state change (for example, canceled because the session was terminated).
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setEndDateTime(Date endDateTime)
The date and time that the session ended.
|
void |
setIdleSinceDateTime(Date idleSinceDateTime)
The date and time starting at which the session became idle.
|
void |
setLastModifiedDateTime(Date lastModifiedDateTime)
The most recent date and time that the session was modified.
|
void |
setStartDateTime(Date startDateTime)
The date and time that the session started.
|
void |
setState(String state)
The state of the session.
|
void |
setStateChangeReason(String stateChangeReason)
The reason for the session state change (for example, canceled because the session was terminated).
|
String |
toString()
Returns a string representation of this object.
|
SessionStatus |
withEndDateTime(Date endDateTime)
The date and time that the session ended.
|
SessionStatus |
withIdleSinceDateTime(Date idleSinceDateTime)
The date and time starting at which the session became idle.
|
SessionStatus |
withLastModifiedDateTime(Date lastModifiedDateTime)
The most recent date and time that the session was modified.
|
SessionStatus |
withStartDateTime(Date startDateTime)
The date and time that the session started.
|
SessionStatus |
withState(SessionState state)
The state of the session.
|
SessionStatus |
withState(String state)
The state of the session.
|
SessionStatus |
withStateChangeReason(String stateChangeReason)
The reason for the session state change (for example, canceled because the session was terminated).
|
public void setStartDateTime(Date startDateTime)
The date and time that the session started.
startDateTime
- The date and time that the session started.public Date getStartDateTime()
The date and time that the session started.
public SessionStatus withStartDateTime(Date startDateTime)
The date and time that the session started.
startDateTime
- The date and time that the session started.public void setLastModifiedDateTime(Date lastModifiedDateTime)
The most recent date and time that the session was modified.
lastModifiedDateTime
- The most recent date and time that the session was modified.public Date getLastModifiedDateTime()
The most recent date and time that the session was modified.
public SessionStatus withLastModifiedDateTime(Date lastModifiedDateTime)
The most recent date and time that the session was modified.
lastModifiedDateTime
- The most recent date and time that the session was modified.public void setEndDateTime(Date endDateTime)
The date and time that the session ended.
endDateTime
- The date and time that the session ended.public Date getEndDateTime()
The date and time that the session ended.
public SessionStatus withEndDateTime(Date endDateTime)
The date and time that the session ended.
endDateTime
- The date and time that the session ended.public void setIdleSinceDateTime(Date 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.public Date getIdleSinceDateTime()
The date and time starting at which the session became idle. Can be empty if the session is not currently idle.
public SessionStatus withIdleSinceDateTime(Date 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.public void setState(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
public String getState()
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.
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
public SessionStatus withState(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
public SessionStatus withState(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
public void setStateChangeReason(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).public String getStateChangeReason()
The reason for the session state change (for example, canceled because the session was terminated).
public SessionStatus withStateChangeReason(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).public String toString()
toString
in class Object
Object.toString()
public SessionStatus clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall
in interface StructuredPojo
Copyright © 2023. All rights reserved.