public class GetResourcesResult extends Object implements Serializable, Cloneable
Represents a collection of Resource resources.
Constructor and Description |
---|
GetResourcesResult() |
Modifier and Type | Method and 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(Collection<Resource> items)
Gets the current Resource resource in the collection.
|
GetResourcesResult |
withItems(Resource... items)
Gets the current Resource resource in the collection.
|
GetResourcesResult |
withPosition(String position) |
public void setPosition(String position)
position
- public String getPosition()
public GetResourcesResult withPosition(String position)
position
- public List<Resource> getItems()
Gets the current Resource resource in the collection.
public void setItems(Collection<Resource> items)
Gets the current Resource resource in the collection.
items
- Gets the current Resource resource in the collection.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)
or
withItems(java.util.Collection)
if you want to override the
existing values.
items
- Gets the current Resource resource in the collection.public GetResourcesResult withItems(Collection<Resource> items)
Gets the current Resource resource in the collection.
items
- Gets the current Resource resource in the collection.public String toString()
toString
in class Object
Object.toString()
public GetResourcesResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.