Interface GetAnomaliesRequest.Builder

All Superinterfaces:
AwsRequest.Builder, Buildable, CopyableBuilder<GetAnomaliesRequest.Builder,GetAnomaliesRequest>, CostExplorerRequest.Builder, SdkBuilder<GetAnomaliesRequest.Builder,GetAnomaliesRequest>, SdkPojo, SdkRequest.Builder
Enclosing class:
GetAnomaliesRequest

public static interface GetAnomaliesRequest.Builder extends CostExplorerRequest.Builder, SdkPojo, CopyableBuilder<GetAnomaliesRequest.Builder,GetAnomaliesRequest>
  • Method Details

    • monitorArn

      GetAnomaliesRequest.Builder monitorArn(String monitorArn)

      Retrieves all of the cost anomalies detected for a specific cost anomaly monitor Amazon Resource Name (ARN).

      Parameters:
      monitorArn - Retrieves all of the cost anomalies detected for a specific cost anomaly monitor Amazon Resource Name (ARN).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • dateInterval

      Assigns the start and end dates for retrieving cost anomalies. The returned anomaly object will have an AnomalyEndDate in the specified time range.

      Parameters:
      dateInterval - Assigns the start and end dates for retrieving cost anomalies. The returned anomaly object will have an AnomalyEndDate in the specified time range.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • dateInterval

      Assigns the start and end dates for retrieving cost anomalies. The returned anomaly object will have an AnomalyEndDate in the specified time range.

      This is a convenience method that creates an instance of the AnomalyDateInterval.Builder avoiding the need to create one manually via AnomalyDateInterval.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to dateInterval(AnomalyDateInterval).

      Parameters:
      dateInterval - a consumer that will call methods on AnomalyDateInterval.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • feedback

      GetAnomaliesRequest.Builder feedback(String feedback)

      Filters anomaly results by the feedback field on the anomaly object.

      Parameters:
      feedback - Filters anomaly results by the feedback field on the anomaly object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • feedback

      Filters anomaly results by the feedback field on the anomaly object.

      Parameters:
      feedback - Filters anomaly results by the feedback field on the anomaly object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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.

      Parameters:
      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.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • 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.

      This is a convenience method that creates an instance of the TotalImpactFilter.Builder avoiding the need to create one manually via TotalImpactFilter.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to totalImpact(TotalImpactFilter).

      Parameters:
      totalImpact - a consumer that will call methods on TotalImpactFilter.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • nextPageToken

      GetAnomaliesRequest.Builder nextPageToken(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.

      Parameters:
      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:
      Returns a reference to this object so that method calls can be chained together.
    • maxResults

      GetAnomaliesRequest.Builder maxResults(Integer maxResults)

      The number of entries a paginated response contains.

      Parameters:
      maxResults - The number of entries a paginated response contains.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

      GetAnomaliesRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.