@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeCanariesLastRunResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DescribeCanariesLastRunResult() |
Modifier and Type | Method and Description |
---|---|
DescribeCanariesLastRunResult |
clone() |
boolean |
equals(Object obj) |
List<CanaryLastRun> |
getCanariesLastRun()
An array that contains the information from the most recent run of each canary.
|
String |
getNextToken()
A token that indicates that there is more data available.
|
int |
hashCode() |
void |
setCanariesLastRun(Collection<CanaryLastRun> canariesLastRun)
An array that contains the information from the most recent run of each canary.
|
void |
setNextToken(String nextToken)
A token that indicates that there is more data available.
|
String |
toString()
Returns a string representation of this object.
|
DescribeCanariesLastRunResult |
withCanariesLastRun(CanaryLastRun... canariesLastRun)
An array that contains the information from the most recent run of each canary.
|
DescribeCanariesLastRunResult |
withCanariesLastRun(Collection<CanaryLastRun> canariesLastRun)
An array that contains the information from the most recent run of each canary.
|
DescribeCanariesLastRunResult |
withNextToken(String nextToken)
A token that indicates that there is more data available.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<CanaryLastRun> getCanariesLastRun()
An array that contains the information from the most recent run of each canary.
public void setCanariesLastRun(Collection<CanaryLastRun> canariesLastRun)
An array that contains the information from the most recent run of each canary.
canariesLastRun
- An array that contains the information from the most recent run of each canary.public DescribeCanariesLastRunResult withCanariesLastRun(CanaryLastRun... canariesLastRun)
An array that contains the information from the most recent run of each canary.
NOTE: This method appends the values to the existing list (if any). Use
setCanariesLastRun(java.util.Collection)
or withCanariesLastRun(java.util.Collection)
if you
want to override the existing values.
canariesLastRun
- An array that contains the information from the most recent run of each canary.public DescribeCanariesLastRunResult withCanariesLastRun(Collection<CanaryLastRun> canariesLastRun)
An array that contains the information from the most recent run of each canary.
canariesLastRun
- An array that contains the information from the most recent run of each canary.public void setNextToken(String nextToken)
A token that indicates that there is more data available. You can use this token in a subsequent
DescribeCanariesLastRun
operation to retrieve the next set of results.
nextToken
- A token that indicates that there is more data available. You can use this token in a subsequent
DescribeCanariesLastRun
operation to retrieve the next set of results.public String getNextToken()
A token that indicates that there is more data available. You can use this token in a subsequent
DescribeCanariesLastRun
operation to retrieve the next set of results.
DescribeCanariesLastRun
operation to retrieve the next set of results.public DescribeCanariesLastRunResult withNextToken(String nextToken)
A token that indicates that there is more data available. You can use this token in a subsequent
DescribeCanariesLastRun
operation to retrieve the next set of results.
nextToken
- A token that indicates that there is more data available. You can use this token in a subsequent
DescribeCanariesLastRun
operation to retrieve the next set of results.public String toString()
toString
in class Object
Object.toString()
public DescribeCanariesLastRunResult clone()