@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetRoutesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetRoutesResult() |
Modifier and Type | Method and Description |
---|---|
GetRoutesResult |
clone() |
boolean |
equals(Object obj) |
List<Route> |
getItems()
The elements from this collection.
|
String |
getNextToken()
The next page of elements from this collection.
|
int |
hashCode() |
void |
setItems(Collection<Route> items)
The elements from this collection.
|
void |
setNextToken(String nextToken)
The next page of elements from this collection.
|
String |
toString()
Returns a string representation of this object.
|
GetRoutesResult |
withItems(Collection<Route> items)
The elements from this collection.
|
GetRoutesResult |
withItems(Route... items)
The elements from this collection.
|
GetRoutesResult |
withNextToken(String nextToken)
The next page of elements from this collection.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<Route> getItems()
The elements from this collection.
public void setItems(Collection<Route> items)
The elements from this collection.
items
- The elements from this collection.public GetRoutesResult withItems(Route... items)
The elements from this collection.
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
- The elements from this collection.public GetRoutesResult withItems(Collection<Route> items)
The elements from this collection.
items
- The elements from this collection.public void setNextToken(String nextToken)
The next page of elements from this collection. Not valid for the last element of the collection.
nextToken
- The next page of elements from this collection. Not valid for the last element of the collection.public String getNextToken()
The next page of elements from this collection. Not valid for the last element of the collection.
public GetRoutesResult withNextToken(String nextToken)
The next page of elements from this collection. Not valid for the last element of the collection.
nextToken
- The next page of elements from this collection. Not valid for the last element of the collection.public String toString()
toString
in class Object
Object.toString()
public GetRoutesResult clone()