@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetAnomaliesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description | 
|---|
| GetAnomaliesResult() | 
| Modifier and Type | Method and Description | 
|---|---|
| GetAnomaliesResult | clone() | 
| boolean | equals(Object obj) | 
| List<Anomaly> | getAnomalies()
 A list of cost anomalies. | 
| String | getNextPageToken()
 The token to retrieve the next set of results. | 
| int | hashCode() | 
| void | setAnomalies(Collection<Anomaly> anomalies)
 A list of cost anomalies. | 
| void | setNextPageToken(String nextPageToken)
 The token to retrieve the next set of results. | 
| String | toString()Returns a string representation of this object. | 
| GetAnomaliesResult | withAnomalies(Anomaly... anomalies)
 A list of cost anomalies. | 
| GetAnomaliesResult | withAnomalies(Collection<Anomaly> anomalies)
 A list of cost anomalies. | 
| GetAnomaliesResult | withNextPageToken(String nextPageToken)
 The token to retrieve the next set of results. | 
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic List<Anomaly> getAnomalies()
A list of cost anomalies.
public void setAnomalies(Collection<Anomaly> anomalies)
A list of cost anomalies.
anomalies - A list of cost anomalies.public GetAnomaliesResult withAnomalies(Anomaly... anomalies)
A list of cost anomalies.
 NOTE: This method appends the values to the existing list (if any). Use
 setAnomalies(java.util.Collection) or withAnomalies(java.util.Collection) if you want to
 override the existing values.
 
anomalies - A list of cost anomalies.public GetAnomaliesResult withAnomalies(Collection<Anomaly> anomalies)
A list of cost anomalies.
anomalies - A list of cost anomalies.public void setNextPageToken(String nextPageToken)
The token to retrieve the next set of results. Amazon Web Services provides the token when the response from a previous call has more results than the maximum page size.
nextPageToken - The token to retrieve the next set of results. Amazon Web Services provides the token when the response
        from a previous call has more results than the maximum page size.public String getNextPageToken()
The token to retrieve the next set of results. Amazon Web Services provides the token when the response from a previous call has more results than the maximum page size.
public GetAnomaliesResult withNextPageToken(String nextPageToken)
The token to retrieve the next set of results. Amazon Web Services provides the token when the response from a previous call has more results than the maximum page size.
nextPageToken - The token to retrieve the next set of results. Amazon Web Services provides the token when the response
        from a previous call has more results than the maximum page size.public String toString()
toString in class ObjectObject.toString()public GetAnomaliesResult clone()