@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListInsightsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListInsightsResult() |
Modifier and Type | Method and Description |
---|---|
ListInsightsResult |
clone() |
boolean |
equals(Object obj) |
List<InsightSummary> |
getInsights()
The returned list of insights.
|
String |
getNextToken()
The
nextToken value to include in a future ListInsights request. |
int |
hashCode() |
void |
setInsights(Collection<InsightSummary> insights)
The returned list of insights.
|
void |
setNextToken(String nextToken)
The
nextToken value to include in a future ListInsights request. |
String |
toString()
Returns a string representation of this object.
|
ListInsightsResult |
withInsights(Collection<InsightSummary> insights)
The returned list of insights.
|
ListInsightsResult |
withInsights(InsightSummary... insights)
The returned list of insights.
|
ListInsightsResult |
withNextToken(String nextToken)
The
nextToken value to include in a future ListInsights request. |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<InsightSummary> getInsights()
The returned list of insights.
public void setInsights(Collection<InsightSummary> insights)
The returned list of insights.
insights
- The returned list of insights.public ListInsightsResult withInsights(InsightSummary... insights)
The returned list of insights.
NOTE: This method appends the values to the existing list (if any). Use
setInsights(java.util.Collection)
or withInsights(java.util.Collection)
if you want to override
the existing values.
insights
- The returned list of insights.public ListInsightsResult withInsights(Collection<InsightSummary> insights)
The returned list of insights.
insights
- The returned list of insights.public void setNextToken(String nextToken)
The nextToken
value to include in a future ListInsights
request. When the results of a
ListInsights
request exceed maxResults
, you can use this value to retrieve the next
page of results. This value is null
when there are no more results to return.
nextToken
- The nextToken
value to include in a future ListInsights
request. When the
results of a ListInsights
request exceed maxResults
, you can use this value to
retrieve the next page of results. This value is null
when there are no more results to
return.public String getNextToken()
The nextToken
value to include in a future ListInsights
request. When the results of a
ListInsights
request exceed maxResults
, you can use this value to retrieve the next
page of results. This value is null
when there are no more results to return.
nextToken
value to include in a future ListInsights
request. When the
results of a ListInsights
request exceed maxResults
, you can use this value to
retrieve the next page of results. This value is null
when there are no more results to
return.public ListInsightsResult withNextToken(String nextToken)
The nextToken
value to include in a future ListInsights
request. When the results of a
ListInsights
request exceed maxResults
, you can use this value to retrieve the next
page of results. This value is null
when there are no more results to return.
nextToken
- The nextToken
value to include in a future ListInsights
request. When the
results of a ListInsights
request exceed maxResults
, you can use this value to
retrieve the next page of results. This value is null
when there are no more results to
return.public String toString()
toString
in class Object
Object.toString()
public ListInsightsResult clone()