public class GetResourcesResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Represents a collection of Resource resources.
Modifier and Type | Field and Description |
---|---|
private java.util.List<Resource> |
items
Gets the current Resource resource in the collection.
|
private java.lang.String |
position |
Constructor and Description |
---|
GetResourcesResult() |
Modifier and Type | Method and Description |
---|---|
GetResourcesResult |
clone() |
boolean |
equals(java.lang.Object obj) |
java.util.List<Resource> |
getItems()
Gets the current Resource resource in the collection.
|
java.lang.String |
getPosition() |
int |
hashCode() |
void |
setItems(java.util.Collection<Resource> items)
Gets the current Resource resource in the collection.
|
void |
setPosition(java.lang.String position) |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
GetResourcesResult |
withItems(java.util.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(java.lang.String position) |
public void setPosition(java.lang.String position)
position
- public java.lang.String getPosition()
public GetResourcesResult withPosition(java.lang.String position)
position
- public java.util.List<Resource> getItems()
Gets the current Resource resource in the collection.
public void setItems(java.util.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(java.util.Collection<Resource> items)
Gets the current Resource resource in the collection.
items
- Gets the current Resource resource in the collection.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public GetResourcesResult clone()
clone
in class java.lang.Object