Interface GetUsageLinesEstimatedCostInput.Builder

  • Method Details

    • serviceCode

      The Amazon Web Services service code of the usage line, for example AmazonEC2.

      Parameters:
      serviceCode - The Amazon Web Services service code of the usage line, for example AmazonEC2.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • usageType

      The usage type of the usage line, for example BoxUsage:t3.micro.

      Parameters:
      usageType - The usage type of the usage line, for example BoxUsage:t3.micro.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • operation

      The operation of the usage line, for example RunInstances.

      Parameters:
      operation - The operation of the usage line, for example RunInstances.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • key

      A unique identifier for the usage line in the request. Use the key to match the usage line with its result in lineItems or errors in the response.

      Parameters:
      key - A unique identifier for the usage line in the request. Use the key to match the usage line with its result in lineItems or errors in the response.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • amount

      The usage amount to price for the usage line in the usage type's pricing unit. This value must be 0 or greater.

      Parameters:
      amount - The usage amount to price for the usage line in the usage type's pricing unit. This value must be 0 or greater.
      Returns:
      Returns a reference to this object so that method calls can be chained together.