@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 token that is required for pagination.
|
int |
hashCode() |
void |
setInsights(Collection<Insight> insights)
The insights returned by the operation.
|
void |
setNextToken(String nextToken)
The token that is required for pagination.
|
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 token that is required for pagination.
|
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 token that is required for pagination.
nextToken
- The token that is required for pagination.public String getNextToken()
The token that is required for pagination.
public GetInsightsResult withNextToken(String nextToken)
The token that is required for pagination.
nextToken
- The token that is required for pagination.public String toString()
toString
in class Object
Object.toString()
public GetInsightsResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.