@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetAnomaliesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
GetAnomaliesRequest() |
Modifier and Type | Method and Description |
---|---|
GetAnomaliesRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
AnomalyDateInterval |
getDateInterval()
Assigns the start and end dates for retrieving cost anomalies.
|
String |
getFeedback()
Filters anomaly results by the feedback field on the anomaly object.
|
Integer |
getMaxResults()
The number of entries a paginated response contains.
|
String |
getMonitorArn()
Retrieves all of the cost anomalies detected for a specific cost anomaly monitor Amazon Resource Name (ARN).
|
String |
getNextPageToken()
The token to retrieve the next set of results.
|
TotalImpactFilter |
getTotalImpact()
Filters anomaly results by the total impact field on the anomaly object.
|
int |
hashCode() |
void |
setDateInterval(AnomalyDateInterval dateInterval)
Assigns the start and end dates for retrieving cost anomalies.
|
void |
setFeedback(String feedback)
Filters anomaly results by the feedback field on the anomaly object.
|
void |
setMaxResults(Integer maxResults)
The number of entries a paginated response contains.
|
void |
setMonitorArn(String monitorArn)
Retrieves all of the cost anomalies detected for a specific cost anomaly monitor Amazon Resource Name (ARN).
|
void |
setNextPageToken(String nextPageToken)
The token to retrieve the next set of results.
|
void |
setTotalImpact(TotalImpactFilter totalImpact)
Filters anomaly results by the total impact field on the anomaly object.
|
String |
toString()
Returns a string representation of this object.
|
GetAnomaliesRequest |
withDateInterval(AnomalyDateInterval dateInterval)
Assigns the start and end dates for retrieving cost anomalies.
|
GetAnomaliesRequest |
withFeedback(AnomalyFeedbackType feedback)
Filters anomaly results by the feedback field on the anomaly object.
|
GetAnomaliesRequest |
withFeedback(String feedback)
Filters anomaly results by the feedback field on the anomaly object.
|
GetAnomaliesRequest |
withMaxResults(Integer maxResults)
The number of entries a paginated response contains.
|
GetAnomaliesRequest |
withMonitorArn(String monitorArn)
Retrieves all of the cost anomalies detected for a specific cost anomaly monitor Amazon Resource Name (ARN).
|
GetAnomaliesRequest |
withNextPageToken(String nextPageToken)
The token to retrieve the next set of results.
|
GetAnomaliesRequest |
withTotalImpact(TotalImpactFilter totalImpact)
Filters anomaly results by the total impact field on the anomaly object.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setMonitorArn(String monitorArn)
Retrieves all of the cost anomalies detected for a specific cost anomaly monitor Amazon Resource Name (ARN).
monitorArn
- Retrieves all of the cost anomalies detected for a specific cost anomaly monitor Amazon Resource Name
(ARN).public String getMonitorArn()
Retrieves all of the cost anomalies detected for a specific cost anomaly monitor Amazon Resource Name (ARN).
public GetAnomaliesRequest withMonitorArn(String monitorArn)
Retrieves all of the cost anomalies detected for a specific cost anomaly monitor Amazon Resource Name (ARN).
monitorArn
- Retrieves all of the cost anomalies detected for a specific cost anomaly monitor Amazon Resource Name
(ARN).public void setDateInterval(AnomalyDateInterval dateInterval)
Assigns the start and end dates for retrieving cost anomalies. The returned anomaly object will have an
AnomalyEndDate
in the specified time range.
dateInterval
- Assigns the start and end dates for retrieving cost anomalies. The returned anomaly object will have an
AnomalyEndDate
in the specified time range.public AnomalyDateInterval getDateInterval()
Assigns the start and end dates for retrieving cost anomalies. The returned anomaly object will have an
AnomalyEndDate
in the specified time range.
AnomalyEndDate
in the specified time range.public GetAnomaliesRequest withDateInterval(AnomalyDateInterval dateInterval)
Assigns the start and end dates for retrieving cost anomalies. The returned anomaly object will have an
AnomalyEndDate
in the specified time range.
dateInterval
- Assigns the start and end dates for retrieving cost anomalies. The returned anomaly object will have an
AnomalyEndDate
in the specified time range.public void setFeedback(String feedback)
Filters anomaly results by the feedback field on the anomaly object.
feedback
- Filters anomaly results by the feedback field on the anomaly object.AnomalyFeedbackType
public String getFeedback()
Filters anomaly results by the feedback field on the anomaly object.
AnomalyFeedbackType
public GetAnomaliesRequest withFeedback(String feedback)
Filters anomaly results by the feedback field on the anomaly object.
feedback
- Filters anomaly results by the feedback field on the anomaly object.AnomalyFeedbackType
public GetAnomaliesRequest withFeedback(AnomalyFeedbackType feedback)
Filters anomaly results by the feedback field on the anomaly object.
feedback
- Filters anomaly results by the feedback field on the anomaly object.AnomalyFeedbackType
public void setTotalImpact(TotalImpactFilter totalImpact)
Filters anomaly results by the total impact field on the anomaly object. For example, you can filter anomalies
GREATER_THAN 200.00
to retrieve anomalies, with an estimated dollar impact greater than 200.
totalImpact
- Filters anomaly results by the total impact field on the anomaly object. For example, you can filter
anomalies GREATER_THAN 200.00
to retrieve anomalies, with an estimated dollar impact greater
than 200.public TotalImpactFilter getTotalImpact()
Filters anomaly results by the total impact field on the anomaly object. For example, you can filter anomalies
GREATER_THAN 200.00
to retrieve anomalies, with an estimated dollar impact greater than 200.
GREATER_THAN 200.00
to retrieve anomalies, with an estimated dollar impact greater
than 200.public GetAnomaliesRequest withTotalImpact(TotalImpactFilter totalImpact)
Filters anomaly results by the total impact field on the anomaly object. For example, you can filter anomalies
GREATER_THAN 200.00
to retrieve anomalies, with an estimated dollar impact greater than 200.
totalImpact
- Filters anomaly results by the total impact field on the anomaly object. For example, you can filter
anomalies GREATER_THAN 200.00
to retrieve anomalies, with an estimated dollar impact greater
than 200.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 GetAnomaliesRequest 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 void setMaxResults(Integer maxResults)
The number of entries a paginated response contains.
maxResults
- The number of entries a paginated response contains.public Integer getMaxResults()
The number of entries a paginated response contains.
public GetAnomaliesRequest withMaxResults(Integer maxResults)
The number of entries a paginated response contains.
maxResults
- The number of entries a paginated response contains.public String toString()
toString
in class Object
Object.toString()
public GetAnomaliesRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()