Interface ServiceResourceCost.Builder

  • Method Details

    • type

      The type of the Amazon Web Services resource.

      Parameters:
      type - The type of the Amazon Web Services resource.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • state

      The state of the resource. The resource is ACTIVE if it produces metrics, events, or logs within an hour, otherwise it is INACTIVE. You pay for the number of active Amazon Web Services resource hours analyzed for each resource. Inactive resources are not charged.

      Parameters:
      state - The state of the resource. The resource is ACTIVE if it produces metrics, events, or logs within an hour, otherwise it is INACTIVE. You pay for the number of active Amazon Web Services resource hours analyzed for each resource. Inactive resources are not charged.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • state

      The state of the resource. The resource is ACTIVE if it produces metrics, events, or logs within an hour, otherwise it is INACTIVE. You pay for the number of active Amazon Web Services resource hours analyzed for each resource. Inactive resources are not charged.

      Parameters:
      state - The state of the resource. The resource is ACTIVE if it produces metrics, events, or logs within an hour, otherwise it is INACTIVE. You pay for the number of active Amazon Web Services resource hours analyzed for each resource. Inactive resources are not charged.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • count

      The number of active resources analyzed for this service to create a monthly cost estimate.

      Parameters:
      count - The number of active resources analyzed for this service to create a monthly cost estimate.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • unitCost

      ServiceResourceCost.Builder unitCost(Double unitCost)

      The price per hour to analyze the resources in the service. For more information, see Estimate your Amazon DevOps Guru costs and Amazon DevOps Guru pricing.

      Parameters:
      unitCost - The price per hour to analyze the resources in the service. For more information, see Estimate your Amazon DevOps Guru costs and Amazon DevOps Guru pricing.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • cost

      The total estimated monthly cost to analyze the active resources for this resource.

      Parameters:
      cost - The total estimated monthly cost to analyze the active resources for this resource.
      Returns:
      Returns a reference to this object so that method calls can be chained together.