Class GetAnomaliesRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.costexplorer.model.CostExplorerRequest
-
- software.amazon.awssdk.services.costexplorer.model.GetAnomaliesRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<GetAnomaliesRequest.Builder,GetAnomaliesRequest>
@Generated("software.amazon.awssdk:codegen") public final class GetAnomaliesRequest extends CostExplorerRequest implements ToCopyableBuilder<GetAnomaliesRequest.Builder,GetAnomaliesRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceGetAnomaliesRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GetAnomaliesRequest.Builderbuilder()AnomalyDateIntervaldateInterval()Assigns the start and end dates for retrieving cost anomalies.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)AnomalyFeedbackTypefeedback()Filters anomaly results by the feedback field on the anomaly object.StringfeedbackAsString()Filters anomaly results by the feedback field on the anomaly object.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()IntegermaxResults()The number of entries a paginated response contains.StringmonitorArn()Retrieves all of the cost anomalies detected for a specific cost anomaly monitor Amazon Resource Name (ARN).StringnextPageToken()The token to retrieve the next set of results.List<SdkField<?>>sdkFields()static Class<? extends GetAnomaliesRequest.Builder>serializableBuilderClass()GetAnomaliesRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.TotalImpactFiltertotalImpact()Filters anomaly results by the total impact field on the anomaly object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
monitorArn
public final String monitorArn()
Retrieves all of the cost anomalies detected for a specific cost anomaly monitor Amazon Resource Name (ARN).
- Returns:
- Retrieves all of the cost anomalies detected for a specific cost anomaly monitor Amazon Resource Name (ARN).
-
dateInterval
public final AnomalyDateInterval dateInterval()
Assigns the start and end dates for retrieving cost anomalies. The returned anomaly object will have an
AnomalyEndDatein the specified time range.- Returns:
- Assigns the start and end dates for retrieving cost anomalies. The returned anomaly object will have an
AnomalyEndDatein the specified time range.
-
feedback
public final AnomalyFeedbackType feedback()
Filters anomaly results by the feedback field on the anomaly object.
If the service returns an enum value that is not available in the current SDK version,
feedbackwill returnAnomalyFeedbackType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromfeedbackAsString().- Returns:
- Filters anomaly results by the feedback field on the anomaly object.
- See Also:
AnomalyFeedbackType
-
feedbackAsString
public final String feedbackAsString()
Filters anomaly results by the feedback field on the anomaly object.
If the service returns an enum value that is not available in the current SDK version,
feedbackwill returnAnomalyFeedbackType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromfeedbackAsString().- Returns:
- Filters anomaly results by the feedback field on the anomaly object.
- See Also:
AnomalyFeedbackType
-
totalImpact
public final TotalImpactFilter totalImpact()
Filters anomaly results by the total impact field on the anomaly object. For example, you can filter anomalies
GREATER_THAN 200.00to retrieve anomalies, with an estimated dollar impact greater than 200.- Returns:
- Filters anomaly results by the total impact field on the anomaly object. For example, you can filter
anomalies
GREATER_THAN 200.00to retrieve anomalies, with an estimated dollar impact greater than 200.
-
nextPageToken
public final 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.
- Returns:
- 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.
-
maxResults
public final Integer maxResults()
The number of entries a paginated response contains.
- Returns:
- The number of entries a paginated response contains.
-
toBuilder
public GetAnomaliesRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<GetAnomaliesRequest.Builder,GetAnomaliesRequest>- Specified by:
toBuilderin classCostExplorerRequest
-
builder
public static GetAnomaliesRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends GetAnomaliesRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
-