@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListProfileObjectsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListProfileObjectsResult() |
Modifier and Type | Method and Description |
---|---|
ListProfileObjectsResult |
clone() |
boolean |
equals(Object obj) |
List<ListProfileObjectsItem> |
getItems()
The list of ListProfileObject instances.
|
String |
getNextToken()
The pagination token from the previous call to ListProfileObjects.
|
int |
hashCode() |
void |
setItems(Collection<ListProfileObjectsItem> items)
The list of ListProfileObject instances.
|
void |
setNextToken(String nextToken)
The pagination token from the previous call to ListProfileObjects.
|
String |
toString()
Returns a string representation of this object.
|
ListProfileObjectsResult |
withItems(Collection<ListProfileObjectsItem> items)
The list of ListProfileObject instances.
|
ListProfileObjectsResult |
withItems(ListProfileObjectsItem... items)
The list of ListProfileObject instances.
|
ListProfileObjectsResult |
withNextToken(String nextToken)
The pagination token from the previous call to ListProfileObjects.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<ListProfileObjectsItem> getItems()
The list of ListProfileObject instances.
public void setItems(Collection<ListProfileObjectsItem> items)
The list of ListProfileObject instances.
items
- The list of ListProfileObject instances.public ListProfileObjectsResult withItems(ListProfileObjectsItem... items)
The list of ListProfileObject instances.
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 list of ListProfileObject instances.public ListProfileObjectsResult withItems(Collection<ListProfileObjectsItem> items)
The list of ListProfileObject instances.
items
- The list of ListProfileObject instances.public void setNextToken(String nextToken)
The pagination token from the previous call to ListProfileObjects.
nextToken
- The pagination token from the previous call to ListProfileObjects.public String getNextToken()
The pagination token from the previous call to ListProfileObjects.
public ListProfileObjectsResult withNextToken(String nextToken)
The pagination token from the previous call to ListProfileObjects.
nextToken
- The pagination token from the previous call to ListProfileObjects.public String toString()
toString
in class Object
Object.toString()
public ListProfileObjectsResult clone()