Class GetRestApisResult
- java.lang.Object
-
- com.amazonaws.services.apigateway.model.GetRestApisResult
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class GetRestApisResult extends Object implements Serializable, Cloneable
Contains references to your APIs and links that guide you in ways to interact with your collection. A collection offers a paginated view of your APIs.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GetRestApisResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GetRestApisResult
clone()
boolean
equals(Object obj)
List<RestApi>
getItems()
An array of links to the current page of RestApi resources.String
getPosition()
int
hashCode()
void
setItems(Collection<RestApi> items)
An array of links to the current page of RestApi resources.void
setPosition(String position)
String
toString()
Returns a string representation of this object; useful for testing and debugging.GetRestApisResult
withItems(RestApi... items)
An array of links to the current page of RestApi resources.GetRestApisResult
withItems(Collection<RestApi> items)
An array of links to the current page of RestApi resources.GetRestApisResult
withPosition(String position)
-
-
-
Method Detail
-
setPosition
public void setPosition(String position)
- Parameters:
position
-
-
getPosition
public String getPosition()
- Returns:
-
withPosition
public GetRestApisResult withPosition(String position)
- Parameters:
position
-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getItems
public List<RestApi> getItems()
An array of links to the current page of RestApi resources.
- Returns:
- An array of links to the current page of RestApi resources.
-
setItems
public void setItems(Collection<RestApi> items)
An array of links to the current page of RestApi resources.
- Parameters:
items
- An array of links to the current page of RestApi resources.
-
withItems
public GetRestApisResult withItems(RestApi... items)
An array of links to the current page of RestApi resources.
NOTE: This method appends the values to the existing list (if any). Use
setItems(java.util.Collection)
orwithItems(java.util.Collection)
if you want to override the existing values.- Parameters:
items
- An array of links to the current page of RestApi resources.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withItems
public GetRestApisResult withItems(Collection<RestApi> items)
An array of links to the current page of RestApi resources.
- Parameters:
items
- An array of links to the current page of RestApi resources.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public GetRestApisResult clone()
-
-