@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class StageSession extends Object implements Serializable, Cloneable, StructuredPojo
A stage session begins when the first participant joins a stage and ends after the last participant leaves the stage. A stage session helps with debugging stages by grouping events and participants into shorter periods of time (i.e., a session), which is helpful when stages are used over long periods of time.
Constructor and Description |
---|
StageSession() |
Modifier and Type | Method and Description |
---|---|
StageSession |
clone() |
boolean |
equals(Object obj) |
Date |
getEndTime()
ISO 8601 timestamp (returned as a string) when the stage session ended.
|
String |
getSessionId()
ID of the session within the stage.
|
Date |
getStartTime()
ISO 8601 timestamp (returned as a string) when this stage session began.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setEndTime(Date endTime)
ISO 8601 timestamp (returned as a string) when the stage session ended.
|
void |
setSessionId(String sessionId)
ID of the session within the stage.
|
void |
setStartTime(Date startTime)
ISO 8601 timestamp (returned as a string) when this stage session began.
|
String |
toString()
Returns a string representation of this object.
|
StageSession |
withEndTime(Date endTime)
ISO 8601 timestamp (returned as a string) when the stage session ended.
|
StageSession |
withSessionId(String sessionId)
ID of the session within the stage.
|
StageSession |
withStartTime(Date startTime)
ISO 8601 timestamp (returned as a string) when this stage session began.
|
public void setEndTime(Date endTime)
ISO 8601 timestamp (returned as a string) when the stage session ended. This is null if the stage is active.
endTime
- ISO 8601 timestamp (returned as a string) when the stage session ended. This is null if the stage is
active.public Date getEndTime()
ISO 8601 timestamp (returned as a string) when the stage session ended. This is null if the stage is active.
public StageSession withEndTime(Date endTime)
ISO 8601 timestamp (returned as a string) when the stage session ended. This is null if the stage is active.
endTime
- ISO 8601 timestamp (returned as a string) when the stage session ended. This is null if the stage is
active.public void setSessionId(String sessionId)
ID of the session within the stage.
sessionId
- ID of the session within the stage.public String getSessionId()
ID of the session within the stage.
public StageSession withSessionId(String sessionId)
ID of the session within the stage.
sessionId
- ID of the session within the stage.public void setStartTime(Date startTime)
ISO 8601 timestamp (returned as a string) when this stage session began.
startTime
- ISO 8601 timestamp (returned as a string) when this stage session began.public Date getStartTime()
ISO 8601 timestamp (returned as a string) when this stage session began.
public StageSession withStartTime(Date startTime)
ISO 8601 timestamp (returned as a string) when this stage session began.
startTime
- ISO 8601 timestamp (returned as a string) when this stage session began.public String toString()
toString
in class Object
Object.toString()
public StageSession clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.