@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CanaryLastRun extends Object implements Serializable, Cloneable, StructuredPojo
This structure contains information about the most recent run of a single canary.
Constructor and Description |
---|
CanaryLastRun() |
Modifier and Type | Method and Description |
---|---|
CanaryLastRun |
clone() |
boolean |
equals(Object obj) |
String |
getCanaryName()
The name of the canary.
|
CanaryRun |
getLastRun()
The results from this canary's most recent run.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCanaryName(String canaryName)
The name of the canary.
|
void |
setLastRun(CanaryRun lastRun)
The results from this canary's most recent run.
|
String |
toString()
Returns a string representation of this object.
|
CanaryLastRun |
withCanaryName(String canaryName)
The name of the canary.
|
CanaryLastRun |
withLastRun(CanaryRun lastRun)
The results from this canary's most recent run.
|
public void setCanaryName(String canaryName)
The name of the canary.
canaryName
- The name of the canary.public String getCanaryName()
The name of the canary.
public CanaryLastRun withCanaryName(String canaryName)
The name of the canary.
canaryName
- The name of the canary.public void setLastRun(CanaryRun lastRun)
The results from this canary's most recent run.
lastRun
- The results from this canary's most recent run.public CanaryRun getLastRun()
The results from this canary's most recent run.
public CanaryLastRun withLastRun(CanaryRun lastRun)
The results from this canary's most recent run.
lastRun
- The results from this canary's most recent run.public String toString()
toString
in class Object
Object.toString()
public CanaryLastRun clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.