Interface RootCause.Builder

  • Method Details

    • service

      RootCause.Builder service(String service)

      The Amazon Web Services service name that's associated with the cost anomaly.

      Parameters:
      service - The Amazon Web Services service name that's associated with the cost anomaly.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • region

      RootCause.Builder region(String region)

      The Amazon Web Services Region that's associated with the cost anomaly.

      Parameters:
      region - The Amazon Web Services Region that's associated with the cost anomaly.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • linkedAccount

      RootCause.Builder linkedAccount(String linkedAccount)

      The member account value that's associated with the cost anomaly.

      Parameters:
      linkedAccount - The member account value that's associated with the cost anomaly.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • linkedAccountName

      RootCause.Builder linkedAccountName(String linkedAccountName)

      The member account name value that's associated with the cost anomaly.

      Parameters:
      linkedAccountName - The member account name value that's associated with the cost anomaly.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • usageType

      RootCause.Builder usageType(String usageType)

      The UsageType value that's associated with the cost anomaly.

      Parameters:
      usageType - The UsageType value that's associated with the cost anomaly.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • impact

      The dollar impact for the root cause.

      Parameters:
      impact - The dollar impact for the root cause.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • impact

      The dollar impact for the root cause.

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

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

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