@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CanaryRunTimeline extends Object implements Serializable, Cloneable, StructuredPojo
This structure contains the start and end times of a single canary run.
Constructor and Description |
---|
CanaryRunTimeline() |
Modifier and Type | Method and Description |
---|---|
CanaryRunTimeline |
clone() |
boolean |
equals(Object obj) |
Date |
getCompleted()
The end time of the run.
|
Date |
getStarted()
The start time of the run.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCompleted(Date completed)
The end time of the run.
|
void |
setStarted(Date started)
The start time of the run.
|
String |
toString()
Returns a string representation of this object.
|
CanaryRunTimeline |
withCompleted(Date completed)
The end time of the run.
|
CanaryRunTimeline |
withStarted(Date started)
The start time of the run.
|
public void setStarted(Date started)
The start time of the run.
started
- The start time of the run.public Date getStarted()
The start time of the run.
public CanaryRunTimeline withStarted(Date started)
The start time of the run.
started
- The start time of the run.public void setCompleted(Date completed)
The end time of the run.
completed
- The end time of the run.public Date getCompleted()
The end time of the run.
public CanaryRunTimeline withCompleted(Date completed)
The end time of the run.
completed
- The end time of the run.public String toString()
toString
in class Object
Object.toString()
public CanaryRunTimeline clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.