@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetRouteResponsesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetRouteResponsesResult() |
Modifier and Type | Method and Description |
---|---|
GetRouteResponsesResult |
clone() |
boolean |
equals(Object obj) |
List<RouteResponse> |
getItems()
The elements from this collection.
|
String |
getNextToken()
The next page of elements from this collection.
|
int |
hashCode() |
void |
setItems(Collection<RouteResponse> 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.
|
GetRouteResponsesResult |
withItems(Collection<RouteResponse> items)
The elements from this collection.
|
GetRouteResponsesResult |
withItems(RouteResponse... items)
The elements from this collection.
|
GetRouteResponsesResult |
withNextToken(String nextToken)
The next page of elements from this collection.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<RouteResponse> getItems()
The elements from this collection.
public void setItems(Collection<RouteResponse> items)
The elements from this collection.
items
- The elements from this collection.public GetRouteResponsesResult withItems(RouteResponse... 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 GetRouteResponsesResult withItems(Collection<RouteResponse> 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 GetRouteResponsesResult 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 GetRouteResponsesResult clone()