@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListRunsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Represents the result of a list runs request.
Constructor and Description |
---|
ListRunsResult() |
Modifier and Type | Method and Description |
---|---|
ListRunsResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
If the number of items that are returned is significantly large, this is an identifier that is also returned,
which can be used in a subsequent call to this operation to return the next set of items in the list.
|
List<Run> |
getRuns()
Information about the runs.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
If the number of items that are returned is significantly large, this is an identifier that is also returned,
which can be used in a subsequent call to this operation to return the next set of items in the list.
|
void |
setRuns(Collection<Run> runs)
Information about the runs.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
ListRunsResult |
withNextToken(String nextToken)
If the number of items that are returned is significantly large, this is an identifier that is also returned,
which can be used in a subsequent call to this operation to return the next set of items in the list.
|
ListRunsResult |
withRuns(Collection<Run> runs)
Information about the runs.
|
ListRunsResult |
withRuns(Run... runs)
Information about the runs.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setRuns(Collection<Run> runs)
Information about the runs.
runs
- Information about the runs.public ListRunsResult withRuns(Run... runs)
Information about the runs.
NOTE: This method appends the values to the existing list (if any). Use
setRuns(java.util.Collection)
or withRuns(java.util.Collection)
if you want to override the
existing values.
runs
- Information about the runs.public ListRunsResult withRuns(Collection<Run> runs)
Information about the runs.
runs
- Information about the runs.public void setNextToken(String nextToken)
If the number of items that are returned is significantly large, this is an identifier that is also returned, which can be used in a subsequent call to this operation to return the next set of items in the list.
nextToken
- If the number of items that are returned is significantly large, this is an identifier that is also
returned, which can be used in a subsequent call to this operation to return the next set of items in the
list.public String getNextToken()
If the number of items that are returned is significantly large, this is an identifier that is also returned, which can be used in a subsequent call to this operation to return the next set of items in the list.
public ListRunsResult withNextToken(String nextToken)
If the number of items that are returned is significantly large, this is an identifier that is also returned, which can be used in a subsequent call to this operation to return the next set of items in the list.
nextToken
- If the number of items that are returned is significantly large, this is an identifier that is also
returned, which can be used in a subsequent call to this operation to return the next set of items in the
list.public String toString()
toString
in class Object
Object.toString()
public ListRunsResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.