Class GetResourcesResult
- java.lang.Object
-
- com.amazonaws.services.apigateway.model.GetResourcesResult
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class GetResourcesResult extends Object implements Serializable, Cloneable
Represents a collection of Resource resources.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GetResourcesResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GetResourcesResult
clone()
boolean
equals(Object obj)
List<Resource>
getItems()
Gets the current Resource resource in the collection.String
getPosition()
int
hashCode()
void
setItems(Collection<Resource> items)
Gets the current Resource resource in the collection.void
setPosition(String position)
String
toString()
Returns a string representation of this object; useful for testing and debugging.GetResourcesResult
withItems(Resource... items)
Gets the current Resource resource in the collection.GetResourcesResult
withItems(Collection<Resource> items)
Gets the current Resource resource in the collection.GetResourcesResult
withPosition(String position)
-
-
-
Method Detail
-
setPosition
public void setPosition(String position)
- Parameters:
position
-
-
getPosition
public String getPosition()
- Returns:
-
withPosition
public GetResourcesResult withPosition(String position)
- Parameters:
position
-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getItems
public List<Resource> getItems()
Gets the current Resource resource in the collection.
- Returns:
- Gets the current Resource resource in the collection.
-
setItems
public void setItems(Collection<Resource> items)
Gets the current Resource resource in the collection.
- Parameters:
items
- Gets the current Resource resource in the collection.
-
withItems
public GetResourcesResult withItems(Resource... items)
Gets the current Resource resource in the collection.
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
- Gets the current Resource resource in the collection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withItems
public GetResourcesResult withItems(Collection<Resource> items)
Gets the current Resource resource in the collection.
- Parameters:
items
- Gets the current Resource resource in the collection.- 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 GetResourcesResult clone()
-
-