@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetAnomalySubscriptionsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetAnomalySubscriptionsResult() |
Modifier and Type | Method and Description |
---|---|
GetAnomalySubscriptionsResult |
clone() |
boolean |
equals(Object obj) |
List<AnomalySubscription> |
getAnomalySubscriptions()
A list of cost anomaly subscriptions that includes the detailed metadata for each one.
|
String |
getNextPageToken()
The token to retrieve the next set of results.
|
int |
hashCode() |
void |
setAnomalySubscriptions(Collection<AnomalySubscription> anomalySubscriptions)
A list of cost anomaly subscriptions that includes the detailed metadata for each one.
|
void |
setNextPageToken(String nextPageToken)
The token to retrieve the next set of results.
|
String |
toString()
Returns a string representation of this object.
|
GetAnomalySubscriptionsResult |
withAnomalySubscriptions(AnomalySubscription... anomalySubscriptions)
A list of cost anomaly subscriptions that includes the detailed metadata for each one.
|
GetAnomalySubscriptionsResult |
withAnomalySubscriptions(Collection<AnomalySubscription> anomalySubscriptions)
A list of cost anomaly subscriptions that includes the detailed metadata for each one.
|
GetAnomalySubscriptionsResult |
withNextPageToken(String nextPageToken)
The token to retrieve the next set of results.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<AnomalySubscription> getAnomalySubscriptions()
A list of cost anomaly subscriptions that includes the detailed metadata for each one.
public void setAnomalySubscriptions(Collection<AnomalySubscription> anomalySubscriptions)
A list of cost anomaly subscriptions that includes the detailed metadata for each one.
anomalySubscriptions
- A list of cost anomaly subscriptions that includes the detailed metadata for each one.public GetAnomalySubscriptionsResult withAnomalySubscriptions(AnomalySubscription... anomalySubscriptions)
A list of cost anomaly subscriptions that includes the detailed metadata for each one.
NOTE: This method appends the values to the existing list (if any). Use
setAnomalySubscriptions(java.util.Collection)
or withAnomalySubscriptions(java.util.Collection)
if you want to override the existing values.
anomalySubscriptions
- A list of cost anomaly subscriptions that includes the detailed metadata for each one.public GetAnomalySubscriptionsResult withAnomalySubscriptions(Collection<AnomalySubscription> anomalySubscriptions)
A list of cost anomaly subscriptions that includes the detailed metadata for each one.
anomalySubscriptions
- A list of cost anomaly subscriptions that includes the detailed metadata for each one.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 GetAnomalySubscriptionsResult 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 Object
Object.toString()
public GetAnomalySubscriptionsResult clone()