@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetResourcesResult extends AmazonWebServiceResult<ResponseMetadata> 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()
The current page of elements from this collection.
|
String |
getPosition() |
int |
hashCode() |
void |
setItems(Collection<Resource> items)
The current page of elements from this collection.
|
void |
setPosition(String position) |
String |
toString()
Returns a string representation of this object.
|
GetResourcesResult |
withItems(Collection<Resource> items)
The current page of elements from this collection.
|
GetResourcesResult |
withItems(Resource... items)
The current page of elements from this collection.
|
GetResourcesResult |
withPosition(String position) |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setPosition(String position)
position
- public String getPosition()
public GetResourcesResult withPosition(String position)
position
- public List<Resource> getItems()
The current page of elements from this collection.
public void setItems(Collection<Resource> items)
The current page of elements from this collection.
items
- The current page of elements from this collection.public GetResourcesResult withItems(Resource... 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 GetResourcesResult withItems(Collection<Resource> 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 GetResourcesResult clone()