@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListLibraryItemsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListLibraryItemsResult() |
Modifier and Type | Method and Description |
---|---|
ListLibraryItemsResult |
clone() |
boolean |
equals(Object obj) |
List<LibraryItemMember> |
getLibraryItems()
The list of library items meeting the request criteria.
|
String |
getNextToken()
The token to use to request the next page of results.
|
int |
hashCode() |
void |
setLibraryItems(Collection<LibraryItemMember> libraryItems)
The list of library items meeting the request criteria.
|
void |
setNextToken(String nextToken)
The token to use to request the next page of results.
|
String |
toString()
Returns a string representation of this object.
|
ListLibraryItemsResult |
withLibraryItems(Collection<LibraryItemMember> libraryItems)
The list of library items meeting the request criteria.
|
ListLibraryItemsResult |
withLibraryItems(LibraryItemMember... libraryItems)
The list of library items meeting the request criteria.
|
ListLibraryItemsResult |
withNextToken(String nextToken)
The token to use to request the next page of results.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<LibraryItemMember> getLibraryItems()
The list of library items meeting the request criteria.
public void setLibraryItems(Collection<LibraryItemMember> libraryItems)
The list of library items meeting the request criteria.
libraryItems
- The list of library items meeting the request criteria.public ListLibraryItemsResult withLibraryItems(LibraryItemMember... libraryItems)
The list of library items meeting the request criteria.
NOTE: This method appends the values to the existing list (if any). Use
setLibraryItems(java.util.Collection)
or withLibraryItems(java.util.Collection)
if you want to
override the existing values.
libraryItems
- The list of library items meeting the request criteria.public ListLibraryItemsResult withLibraryItems(Collection<LibraryItemMember> libraryItems)
The list of library items meeting the request criteria.
libraryItems
- The list of library items meeting the request criteria.public void setNextToken(String nextToken)
The token to use to request the next page of results.
nextToken
- The token to use to request the next page of results.public String getNextToken()
The token to use to request the next page of results.
public ListLibraryItemsResult withNextToken(String nextToken)
The token to use to request the next page of results.
nextToken
- The token to use to request the next page of results.public String toString()
toString
in class Object
Object.toString()
public ListLibraryItemsResult clone()