Interface ResourceBudgetEstimate.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ResourceBudgetEstimate.Builder,ResourceBudgetEstimate>,SdkBuilder<ResourceBudgetEstimate.Builder,ResourceBudgetEstimate>,SdkPojo
- Enclosing class:
- ResourceBudgetEstimate
public static interface ResourceBudgetEstimate.Builder extends SdkPojo, CopyableBuilder<ResourceBudgetEstimate.Builder,ResourceBudgetEstimate>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ResourceBudgetEstimate.BuildercostEstimates(Collection<CostEstimate> costEstimates)The cost estimate for the specified budget.ResourceBudgetEstimate.BuildercostEstimates(Consumer<CostEstimate.Builder>... costEstimates)The cost estimate for the specified budget.ResourceBudgetEstimate.BuildercostEstimates(CostEstimate... costEstimates)The cost estimate for the specified budget.ResourceBudgetEstimate.BuilderendTime(Instant endTime)The estimate end time.ResourceBudgetEstimate.BuilderresourceName(String resourceName)The resource name.ResourceBudgetEstimate.BuilderresourceType(String resourceType)The type of resource the budget will track.ResourceBudgetEstimate.BuilderresourceType(ResourceType resourceType)The type of resource the budget will track.ResourceBudgetEstimate.BuilderstartTime(Instant startTime)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, sdkFields
-
-
-
-
Method Detail
-
resourceName
ResourceBudgetEstimate.Builder resourceName(String 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
ResourceBudgetEstimate.Builder resourceType(String 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,ResourceType
-
resourceType
ResourceBudgetEstimate.Builder resourceType(ResourceType 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,ResourceType
-
costEstimates
ResourceBudgetEstimate.Builder costEstimates(Collection<CostEstimate> 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
ResourceBudgetEstimate.Builder costEstimates(CostEstimate... 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
ResourceBudgetEstimate.Builder costEstimates(Consumer<CostEstimate.Builder>... costEstimates)
The cost estimate for the specified budget.
This is a convenience method that creates an instance of theCostEstimate.Builderavoiding the need to create one manually viaCostEstimate.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#costEstimates(List.) - 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:
#costEstimates(java.util.Collection)
-
startTime
ResourceBudgetEstimate.Builder startTime(Instant 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
ResourceBudgetEstimate.Builder endTime(Instant 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.
-
-