@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetInsightsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetInsightsResult() |
Modifier and Type | Method and Description |
---|---|
GetInsightsResult |
clone() |
boolean |
equals(Object obj) |
List<Insight> |
getInsights()
The insights returned by the operation.
|
String |
getNextToken()
The pagination token to use to request the next page of results.
|
int |
hashCode() |
void |
setInsights(Collection<Insight> insights)
The insights returned by the operation.
|
void |
setNextToken(String nextToken)
The pagination token to use to request the next page of results.
|
String |
toString()
Returns a string representation of this object.
|
GetInsightsResult |
withInsights(Collection<Insight> insights)
The insights returned by the operation.
|
GetInsightsResult |
withInsights(Insight... insights)
The insights returned by the operation.
|
GetInsightsResult |
withNextToken(String nextToken)
The pagination token to use to request the next page of results.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<Insight> getInsights()
The insights returned by the operation.
public void setInsights(Collection<Insight> insights)
The insights returned by the operation.
insights
- The insights returned by the operation.public GetInsightsResult withInsights(Insight... insights)
The insights returned by the operation.
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 insights returned by the operation.public GetInsightsResult withInsights(Collection<Insight> insights)
The insights returned by the operation.
insights
- The insights returned by the operation.public void setNextToken(String nextToken)
The pagination token to use to request the next page of results.
nextToken
- The pagination token to use to request the next page of results.public String getNextToken()
The pagination token to use to request the next page of results.
public GetInsightsResult withNextToken(String nextToken)
The pagination token to use to request the next page of results.
nextToken
- The pagination token to use to request the next page of results.public String toString()
toString
in class Object
Object.toString()
public GetInsightsResult clone()