@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetCanaryRunsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetCanaryRunsResult() |
Modifier and Type | Method and Description |
---|---|
GetCanaryRunsResult |
clone() |
boolean |
equals(Object obj) |
List<CanaryRun> |
getCanaryRuns()
An array of structures.
|
String |
getNextToken()
A token that indicates that there is more data available.
|
int |
hashCode() |
void |
setCanaryRuns(Collection<CanaryRun> canaryRuns)
An array of structures.
|
void |
setNextToken(String nextToken)
A token that indicates that there is more data available.
|
String |
toString()
Returns a string representation of this object.
|
GetCanaryRunsResult |
withCanaryRuns(CanaryRun... canaryRuns)
An array of structures.
|
GetCanaryRunsResult |
withCanaryRuns(Collection<CanaryRun> canaryRuns)
An array of structures.
|
GetCanaryRunsResult |
withNextToken(String nextToken)
A token that indicates that there is more data available.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<CanaryRun> getCanaryRuns()
An array of structures. Each structure contains the details of one of the retrieved canary runs.
public void setCanaryRuns(Collection<CanaryRun> canaryRuns)
An array of structures. Each structure contains the details of one of the retrieved canary runs.
canaryRuns
- An array of structures. Each structure contains the details of one of the retrieved canary runs.public GetCanaryRunsResult withCanaryRuns(CanaryRun... canaryRuns)
An array of structures. Each structure contains the details of one of the retrieved canary runs.
NOTE: This method appends the values to the existing list (if any). Use
setCanaryRuns(java.util.Collection)
or withCanaryRuns(java.util.Collection)
if you want to
override the existing values.
canaryRuns
- An array of structures. Each structure contains the details of one of the retrieved canary runs.public GetCanaryRunsResult withCanaryRuns(Collection<CanaryRun> canaryRuns)
An array of structures. Each structure contains the details of one of the retrieved canary runs.
canaryRuns
- An array of structures. Each structure contains the details of one of the retrieved canary runs.public void setNextToken(String nextToken)
A token that indicates that there is more data available. You can use this token in a subsequent
GetCanaryRuns
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
GetCanaryRuns
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
GetCanaryRuns
operation to retrieve the next set of results.
GetCanaryRuns
operation to retrieve the next set of results.public GetCanaryRunsResult withNextToken(String nextToken)
A token that indicates that there is more data available. You can use this token in a subsequent
GetCanaryRuns
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
GetCanaryRuns
operation to retrieve the next set of results.public String toString()
toString
in class Object
Object.toString()
public GetCanaryRunsResult clone()