@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Session extends Object implements Serializable, Cloneable, StructuredPojo
Constructor and Description |
---|
Session() |
Modifier and Type | Method and Description |
---|---|
Session |
clone() |
boolean |
equals(Object obj) |
Integer |
getDuration()
The duration of the session, in milliseconds.
|
String |
getId()
A unique identifier for the session.
|
String |
getStartTimestamp()
The date and time when the session began.
|
String |
getStopTimestamp()
The date and time when the session ended.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDuration(Integer duration)
The duration of the session, in milliseconds.
|
void |
setId(String id)
A unique identifier for the session.
|
void |
setStartTimestamp(String startTimestamp)
The date and time when the session began.
|
void |
setStopTimestamp(String stopTimestamp)
The date and time when the session ended.
|
String |
toString()
Returns a string representation of this object.
|
Session |
withDuration(Integer duration)
The duration of the session, in milliseconds.
|
Session |
withId(String id)
A unique identifier for the session.
|
Session |
withStartTimestamp(String startTimestamp)
The date and time when the session began.
|
Session |
withStopTimestamp(String stopTimestamp)
The date and time when the session ended.
|
public void setDuration(Integer duration)
duration
- The duration of the session, in milliseconds.public Integer getDuration()
public Session withDuration(Integer duration)
duration
- The duration of the session, in milliseconds.public void setId(String id)
id
- A unique identifier for the session.public String getId()
public Session withId(String id)
id
- A unique identifier for the session.public void setStartTimestamp(String startTimestamp)
startTimestamp
- The date and time when the session began.public String getStartTimestamp()
public Session withStartTimestamp(String startTimestamp)
startTimestamp
- The date and time when the session began.public void setStopTimestamp(String stopTimestamp)
stopTimestamp
- The date and time when the session ended.public String getStopTimestamp()
public Session withStopTimestamp(String stopTimestamp)
stopTimestamp
- The date and time when the session ended.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.