@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SessionSummary extends Object implements Serializable, Cloneable, StructuredPojo
The summary of a session.
Constructor and Description |
---|
SessionSummary() |
Modifier and Type | Method and Description |
---|---|
SessionSummary |
clone() |
boolean |
equals(Object obj) |
Date |
getEndedAt()
The date and time the resource ended running.
|
String |
getFleetId()
The fleet ID.
|
String |
getLifecycleStatus()
The life cycle status for the session.
|
String |
getSessionId()
The session ID.
|
Date |
getStartedAt()
The date and time the resource started running.
|
String |
getTargetLifecycleStatus()
The target life cycle status for the session.
|
Date |
getUpdatedAt()
The date and time the resource was updated.
|
String |
getUpdatedBy()
The user or system that updated this resource.
|
String |
getWorkerId()
The worker ID.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setEndedAt(Date endedAt)
The date and time the resource ended running.
|
void |
setFleetId(String fleetId)
The fleet ID.
|
void |
setLifecycleStatus(String lifecycleStatus)
The life cycle status for the session.
|
void |
setSessionId(String sessionId)
The session ID.
|
void |
setStartedAt(Date startedAt)
The date and time the resource started running.
|
void |
setTargetLifecycleStatus(String targetLifecycleStatus)
The target life cycle status for the session.
|
void |
setUpdatedAt(Date updatedAt)
The date and time the resource was updated.
|
void |
setUpdatedBy(String updatedBy)
The user or system that updated this resource.
|
void |
setWorkerId(String workerId)
The worker ID.
|
String |
toString()
Returns a string representation of this object.
|
SessionSummary |
withEndedAt(Date endedAt)
The date and time the resource ended running.
|
SessionSummary |
withFleetId(String fleetId)
The fleet ID.
|
SessionSummary |
withLifecycleStatus(SessionLifecycleStatus lifecycleStatus)
The life cycle status for the session.
|
SessionSummary |
withLifecycleStatus(String lifecycleStatus)
The life cycle status for the session.
|
SessionSummary |
withSessionId(String sessionId)
The session ID.
|
SessionSummary |
withStartedAt(Date startedAt)
The date and time the resource started running.
|
SessionSummary |
withTargetLifecycleStatus(SessionLifecycleTargetStatus targetLifecycleStatus)
The target life cycle status for the session.
|
SessionSummary |
withTargetLifecycleStatus(String targetLifecycleStatus)
The target life cycle status for the session.
|
SessionSummary |
withUpdatedAt(Date updatedAt)
The date and time the resource was updated.
|
SessionSummary |
withUpdatedBy(String updatedBy)
The user or system that updated this resource.
|
SessionSummary |
withWorkerId(String workerId)
The worker ID.
|
public void setEndedAt(Date endedAt)
The date and time the resource ended running.
endedAt
- The date and time the resource ended running.public Date getEndedAt()
The date and time the resource ended running.
public SessionSummary withEndedAt(Date endedAt)
The date and time the resource ended running.
endedAt
- The date and time the resource ended running.public void setFleetId(String fleetId)
The fleet ID.
fleetId
- The fleet ID.public String getFleetId()
The fleet ID.
public SessionSummary withFleetId(String fleetId)
The fleet ID.
fleetId
- The fleet ID.public void setLifecycleStatus(String lifecycleStatus)
The life cycle status for the session.
lifecycleStatus
- The life cycle status for the session.SessionLifecycleStatus
public String getLifecycleStatus()
The life cycle status for the session.
SessionLifecycleStatus
public SessionSummary withLifecycleStatus(String lifecycleStatus)
The life cycle status for the session.
lifecycleStatus
- The life cycle status for the session.SessionLifecycleStatus
public SessionSummary withLifecycleStatus(SessionLifecycleStatus lifecycleStatus)
The life cycle status for the session.
lifecycleStatus
- The life cycle status for the session.SessionLifecycleStatus
public void setSessionId(String sessionId)
The session ID.
sessionId
- The session ID.public String getSessionId()
The session ID.
public SessionSummary withSessionId(String sessionId)
The session ID.
sessionId
- The session ID.public void setStartedAt(Date startedAt)
The date and time the resource started running.
startedAt
- The date and time the resource started running.public Date getStartedAt()
The date and time the resource started running.
public SessionSummary withStartedAt(Date startedAt)
The date and time the resource started running.
startedAt
- The date and time the resource started running.public void setTargetLifecycleStatus(String targetLifecycleStatus)
The target life cycle status for the session.
targetLifecycleStatus
- The target life cycle status for the session.SessionLifecycleTargetStatus
public String getTargetLifecycleStatus()
The target life cycle status for the session.
SessionLifecycleTargetStatus
public SessionSummary withTargetLifecycleStatus(String targetLifecycleStatus)
The target life cycle status for the session.
targetLifecycleStatus
- The target life cycle status for the session.SessionLifecycleTargetStatus
public SessionSummary withTargetLifecycleStatus(SessionLifecycleTargetStatus targetLifecycleStatus)
The target life cycle status for the session.
targetLifecycleStatus
- The target life cycle status for the session.SessionLifecycleTargetStatus
public void setUpdatedAt(Date updatedAt)
The date and time the resource was updated.
updatedAt
- The date and time the resource was updated.public Date getUpdatedAt()
The date and time the resource was updated.
public SessionSummary withUpdatedAt(Date updatedAt)
The date and time the resource was updated.
updatedAt
- The date and time the resource was updated.public void setUpdatedBy(String updatedBy)
The user or system that updated this resource.
updatedBy
- The user or system that updated this resource.public String getUpdatedBy()
The user or system that updated this resource.
public SessionSummary withUpdatedBy(String updatedBy)
The user or system that updated this resource.
updatedBy
- The user or system that updated this resource.public void setWorkerId(String workerId)
The worker ID.
workerId
- The worker ID.public String getWorkerId()
The worker ID.
public SessionSummary withWorkerId(String workerId)
The worker ID.
workerId
- The worker ID.public String toString()
toString
in class Object
Object.toString()
public SessionSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.