Interface ServiceResourceCost.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ServiceResourceCost.Builder,ServiceResourceCost>,SdkBuilder<ServiceResourceCost.Builder,ServiceResourceCost>,SdkPojo
- Enclosing class:
- ServiceResourceCost
public static interface ServiceResourceCost.Builder extends SdkPojo, CopyableBuilder<ServiceResourceCost.Builder,ServiceResourceCost>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ServiceResourceCost.Buildercost(Double cost)The total estimated monthly cost to analyze the active resources for this resource.ServiceResourceCost.Buildercount(Integer count)The number of active resources analyzed for this service to create a monthly cost estimate.ServiceResourceCost.Builderstate(String state)The state of the resource.ServiceResourceCost.Builderstate(CostEstimationServiceResourceState state)The state of the resource.ServiceResourceCost.Buildertype(String type)The type of the Amazon Web Services resource.ServiceResourceCost.BuilderunitCost(Double unitCost)The price per hour to analyze the resources in the service.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
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
ACTIVEif it produces metrics, events, or logs within an hour, otherwise it isINACTIVE. 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 isACTIVEif it produces metrics, events, or logs within an hour, otherwise it isINACTIVE. 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
ACTIVEif it produces metrics, events, or logs within an hour, otherwise it isINACTIVE. 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 isACTIVEif it produces metrics, events, or logs within an hour, otherwise it isINACTIVE. 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.
-
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
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.
-
-