Interface ResourceCostCalculation.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ResourceCostCalculation.Builder,
,ResourceCostCalculation> SdkBuilder<ResourceCostCalculation.Builder,
,ResourceCostCalculation> SdkPojo
- Enclosing class:
ResourceCostCalculation
public static interface ResourceCostCalculation.Builder
extends SdkPojo, CopyableBuilder<ResourceCostCalculation.Builder,ResourceCostCalculation>
-
Method Summary
Modifier and TypeMethodDescriptiondefault ResourceCostCalculation.Builder
pricing
(Consumer<ResourcePricing.Builder> pricing) Pricing details of the resource recommendation.pricing
(ResourcePricing pricing) Pricing details of the resource recommendation.usages
(Collection<Usage> usages) Usage details of the resource recommendation.usages
(Consumer<Usage.Builder>... usages) Usage details of the resource recommendation.Usage details of the resource recommendation.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 Details
-
pricing
Pricing details of the resource recommendation.
- Parameters:
pricing
- Pricing details of the resource recommendation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pricing
Pricing details of the resource recommendation.
This is a convenience method that creates an instance of theResourcePricing.Builder
avoiding the need to create one manually viaResourcePricing.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed topricing(ResourcePricing)
.- Parameters:
pricing
- a consumer that will call methods onResourcePricing.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
usages
Usage details of the resource recommendation.
- Parameters:
usages
- Usage details of the resource recommendation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
usages
Usage details of the resource recommendation.
- Parameters:
usages
- Usage details of the resource recommendation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
usages
Usage details of the resource recommendation.
This is a convenience method that creates an instance of theUsage.Builder
avoiding the need to create one manually viaUsage.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tousages(List<Usage>)
.- Parameters:
usages
- a consumer that will call methods onUsage.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-