@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListWatchlistsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListWatchlistsResult() |
Modifier and Type | Method and Description |
---|---|
ListWatchlistsResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
If
NextToken is returned, there are more results available. |
List<WatchlistSummary> |
getWatchlistSummaries()
A list that contains details about each watchlist in the Amazon Web Services account.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
If
NextToken is returned, there are more results available. |
void |
setWatchlistSummaries(Collection<WatchlistSummary> watchlistSummaries)
A list that contains details about each watchlist in the Amazon Web Services account.
|
String |
toString()
Returns a string representation of this object.
|
ListWatchlistsResult |
withNextToken(String nextToken)
If
NextToken is returned, there are more results available. |
ListWatchlistsResult |
withWatchlistSummaries(Collection<WatchlistSummary> watchlistSummaries)
A list that contains details about each watchlist in the Amazon Web Services account.
|
ListWatchlistsResult |
withWatchlistSummaries(WatchlistSummary... watchlistSummaries)
A list that contains details about each watchlist in the Amazon Web Services account.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setNextToken(String nextToken)
If NextToken
is returned, there are more results available. The value of NextToken
is a
unique pagination token for each page. Make the call again using the returned token to retrieve the next page.
Keep all other arguments unchanged. Each pagination token expires after 24 hours.
nextToken
- If NextToken
is returned, there are more results available. The value of
NextToken
is a unique pagination token for each page. Make the call again using the returned
token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires after
24 hours.public String getNextToken()
If NextToken
is returned, there are more results available. The value of NextToken
is a
unique pagination token for each page. Make the call again using the returned token to retrieve the next page.
Keep all other arguments unchanged. Each pagination token expires after 24 hours.
NextToken
is returned, there are more results available. The value of
NextToken
is a unique pagination token for each page. Make the call again using the returned
token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires after
24 hours.public ListWatchlistsResult withNextToken(String nextToken)
If NextToken
is returned, there are more results available. The value of NextToken
is a
unique pagination token for each page. Make the call again using the returned token to retrieve the next page.
Keep all other arguments unchanged. Each pagination token expires after 24 hours.
nextToken
- If NextToken
is returned, there are more results available. The value of
NextToken
is a unique pagination token for each page. Make the call again using the returned
token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires after
24 hours.public List<WatchlistSummary> getWatchlistSummaries()
A list that contains details about each watchlist in the Amazon Web Services account.
public void setWatchlistSummaries(Collection<WatchlistSummary> watchlistSummaries)
A list that contains details about each watchlist in the Amazon Web Services account.
watchlistSummaries
- A list that contains details about each watchlist in the Amazon Web Services account.public ListWatchlistsResult withWatchlistSummaries(WatchlistSummary... watchlistSummaries)
A list that contains details about each watchlist in the Amazon Web Services account.
NOTE: This method appends the values to the existing list (if any). Use
setWatchlistSummaries(java.util.Collection)
or withWatchlistSummaries(java.util.Collection)
if
you want to override the existing values.
watchlistSummaries
- A list that contains details about each watchlist in the Amazon Web Services account.public ListWatchlistsResult withWatchlistSummaries(Collection<WatchlistSummary> watchlistSummaries)
A list that contains details about each watchlist in the Amazon Web Services account.
watchlistSummaries
- A list that contains details about each watchlist in the Amazon Web Services account.public String toString()
toString
in class Object
Object.toString()
public ListWatchlistsResult clone()