@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListRelatedItemsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListRelatedItemsResult() |
Modifier and Type | Method and Description |
---|---|
ListRelatedItemsResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
The pagination token to continue to the next page of results.
|
List<RelatedItem> |
getRelatedItems()
Details about each related item.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
The pagination token to continue to the next page of results.
|
void |
setRelatedItems(Collection<RelatedItem> relatedItems)
Details about each related item.
|
String |
toString()
Returns a string representation of this object.
|
ListRelatedItemsResult |
withNextToken(String nextToken)
The pagination token to continue to the next page of results.
|
ListRelatedItemsResult |
withRelatedItems(Collection<RelatedItem> relatedItems)
Details about each related item.
|
ListRelatedItemsResult |
withRelatedItems(RelatedItem... relatedItems)
Details about each related item.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setNextToken(String nextToken)
The pagination token to continue to the next page of results.
nextToken
- The pagination token to continue to the next page of results.public String getNextToken()
The pagination token to continue to the next page of results.
public ListRelatedItemsResult withNextToken(String nextToken)
The pagination token to continue to the next page of results.
nextToken
- The pagination token to continue to the next page of results.public List<RelatedItem> getRelatedItems()
Details about each related item.
public void setRelatedItems(Collection<RelatedItem> relatedItems)
Details about each related item.
relatedItems
- Details about each related item.public ListRelatedItemsResult withRelatedItems(RelatedItem... relatedItems)
Details about each related item.
NOTE: This method appends the values to the existing list (if any). Use
setRelatedItems(java.util.Collection)
or withRelatedItems(java.util.Collection)
if you want to
override the existing values.
relatedItems
- Details about each related item.public ListRelatedItemsResult withRelatedItems(Collection<RelatedItem> relatedItems)
Details about each related item.
relatedItems
- Details about each related item.public String toString()
toString
in class Object
Object.toString()
public ListRelatedItemsResult clone()