@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetRestApisResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Contains references to your APIs and links that guide you in how to interact with your collection. A collection offers a paginated view of your APIs.
Constructor and Description |
---|
GetRestApisResult() |
Modifier and Type | Method and Description |
---|---|
GetRestApisResult |
clone() |
boolean |
equals(Object obj) |
List<RestApi> |
getItems()
The current page of elements from this collection.
|
String |
getPosition() |
int |
hashCode() |
void |
setItems(Collection<RestApi> items)
The current page of elements from this collection.
|
void |
setPosition(String position) |
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
GetRestApisResult |
withItems(Collection<RestApi> items)
The current page of elements from this collection.
|
GetRestApisResult |
withItems(RestApi... items)
The current page of elements from this collection.
|
GetRestApisResult |
withPosition(String position) |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setPosition(String position)
position
- public String getPosition()
public GetRestApisResult withPosition(String position)
position
- public List<RestApi> getItems()
The current page of elements from this collection.
public void setItems(Collection<RestApi> items)
The current page of elements from this collection.
items
- The current page of elements from this collection.public GetRestApisResult withItems(RestApi... items)
The current page of 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 current page of elements from this collection.public GetRestApisResult withItems(Collection<RestApi> items)
The current page of elements from this collection.
items
- The current page of elements from this collection.public String toString()
toString
in class Object
Object.toString()
public GetRestApisResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.