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