@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CanaryTimeline extends Object implements Serializable, Cloneable, StructuredPojo
This structure contains information about when the canary was created and modified.
Constructor and Description |
---|
CanaryTimeline() |
Modifier and Type | Method and Description |
---|---|
CanaryTimeline |
clone() |
boolean |
equals(Object obj) |
Date |
getCreated()
The date and time the canary was created.
|
Date |
getLastModified()
The date and time the canary was most recently modified.
|
Date |
getLastStarted()
The date and time that the canary's most recent run started.
|
Date |
getLastStopped()
The date and time that the canary's most recent run ended.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCreated(Date created)
The date and time the canary was created.
|
void |
setLastModified(Date lastModified)
The date and time the canary was most recently modified.
|
void |
setLastStarted(Date lastStarted)
The date and time that the canary's most recent run started.
|
void |
setLastStopped(Date lastStopped)
The date and time that the canary's most recent run ended.
|
String |
toString()
Returns a string representation of this object.
|
CanaryTimeline |
withCreated(Date created)
The date and time the canary was created.
|
CanaryTimeline |
withLastModified(Date lastModified)
The date and time the canary was most recently modified.
|
CanaryTimeline |
withLastStarted(Date lastStarted)
The date and time that the canary's most recent run started.
|
CanaryTimeline |
withLastStopped(Date lastStopped)
The date and time that the canary's most recent run ended.
|
public void setCreated(Date created)
The date and time the canary was created.
created
- The date and time the canary was created.public Date getCreated()
The date and time the canary was created.
public CanaryTimeline withCreated(Date created)
The date and time the canary was created.
created
- The date and time the canary was created.public void setLastModified(Date lastModified)
The date and time the canary was most recently modified.
lastModified
- The date and time the canary was most recently modified.public Date getLastModified()
The date and time the canary was most recently modified.
public CanaryTimeline withLastModified(Date lastModified)
The date and time the canary was most recently modified.
lastModified
- The date and time the canary was most recently modified.public void setLastStarted(Date lastStarted)
The date and time that the canary's most recent run started.
lastStarted
- The date and time that the canary's most recent run started.public Date getLastStarted()
The date and time that the canary's most recent run started.
public CanaryTimeline withLastStarted(Date lastStarted)
The date and time that the canary's most recent run started.
lastStarted
- The date and time that the canary's most recent run started.public void setLastStopped(Date lastStopped)
The date and time that the canary's most recent run ended.
lastStopped
- The date and time that the canary's most recent run ended.public Date getLastStopped()
The date and time that the canary's most recent run ended.
public CanaryTimeline withLastStopped(Date lastStopped)
The date and time that the canary's most recent run ended.
lastStopped
- The date and time that the canary's most recent run ended.public String toString()
toString
in class Object
Object.toString()
public CanaryTimeline clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.