Interface ServiceResourceCost.Builder

    • Method Detail

      • type

        ServiceResourceCost.Builder type​(String 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

        ServiceResourceCost.Builder state​(String 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:
        CostEstimationServiceResourceState, CostEstimationServiceResourceState
      • state

        ServiceResourceCost.Builder state​(CostEstimationServiceResourceState 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:
        CostEstimationServiceResourceState, CostEstimationServiceResourceState
      • count

        ServiceResourceCost.Builder count​(Integer 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.
      • cost

        ServiceResourceCost.Builder cost​(Double 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.