@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListRunsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListRunsResult() |
Modifier and Type | Method and Description |
---|---|
ListRunsResult |
clone() |
boolean |
equals(Object obj) |
List<RunListItem> |
getItems()
A list of runs.
|
String |
getNextToken()
A pagination token that's included if more results are available.
|
int |
hashCode() |
void |
setItems(Collection<RunListItem> items)
A list of runs.
|
void |
setNextToken(String nextToken)
A pagination token that's included if more results are available.
|
String |
toString()
Returns a string representation of this object.
|
ListRunsResult |
withItems(Collection<RunListItem> items)
A list of runs.
|
ListRunsResult |
withItems(RunListItem... items)
A list of runs.
|
ListRunsResult |
withNextToken(String nextToken)
A pagination token that's included if more results are available.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<RunListItem> getItems()
A list of runs.
public void setItems(Collection<RunListItem> items)
A list of runs.
items
- A list of runs.public ListRunsResult withItems(RunListItem... items)
A list of runs.
NOTE: This method appends the values to the existing list (if any). Use
setItems(java.util.Collection)
or withItems(java.util.Collection)
if you want to override the
existing values.
items
- A list of runs.public ListRunsResult withItems(Collection<RunListItem> items)
A list of runs.
items
- A list of runs.public void setNextToken(String nextToken)
A pagination token that's included if more results are available.
nextToken
- A pagination token that's included if more results are available.public String getNextToken()
A pagination token that's included if more results are available.
public ListRunsResult withNextToken(String nextToken)
A pagination token that's included if more results are available.
nextToken
- A pagination token that's included if more results are available.public String toString()
toString
in class Object
Object.toString()
public ListRunsResult clone()