Interface ResourceBudgetEstimate.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ResourceBudgetEstimate.Builder,
,ResourceBudgetEstimate> SdkBuilder<ResourceBudgetEstimate.Builder,
,ResourceBudgetEstimate> SdkPojo
- Enclosing class:
ResourceBudgetEstimate
@Mutable
@NotThreadSafe
public static interface ResourceBudgetEstimate.Builder
extends SdkPojo, CopyableBuilder<ResourceBudgetEstimate.Builder,ResourceBudgetEstimate>
-
Method Summary
Modifier and TypeMethodDescriptioncostEstimates
(Collection<CostEstimate> costEstimates) The cost estimate for the specified budget.costEstimates
(Consumer<CostEstimate.Builder>... costEstimates) The cost estimate for the specified budget.costEstimates
(CostEstimate... costEstimates) The cost estimate for the specified budget.The estimate end time.resourceName
(String resourceName) The resource name.resourceType
(String resourceType) The type of resource the budget will track.resourceType
(ResourceType resourceType) The type of resource the budget will track.The estimate start time.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, sdkFieldNameToField, sdkFields
-
Method Details
-
resourceName
The resource name.
- Parameters:
resourceName
- The resource name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceType
The type of resource the budget will track.
- Parameters:
resourceType
- The type of resource the budget will track.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
resourceType
The type of resource the budget will track.
- Parameters:
resourceType
- The type of resource the budget will track.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
costEstimates
The cost estimate for the specified budget.
- Parameters:
costEstimates
- The cost estimate for the specified budget.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
costEstimates
The cost estimate for the specified budget.
- Parameters:
costEstimates
- The cost estimate for the specified budget.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
costEstimates
The cost estimate for the specified budget.
This is a convenience method that creates an instance of theCostEstimate.Builder
avoiding the need to create one manually viaCostEstimate.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocostEstimates(List<CostEstimate>)
.- Parameters:
costEstimates
- a consumer that will call methods onCostEstimate.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
startTime
The estimate start time.
- Parameters:
startTime
- The estimate start time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endTime
The estimate end time.
- Parameters:
endTime
- The estimate end time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-