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.Builderpricing(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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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.Builderavoiding the need to create one manually viaUsage.builder().When the
Consumercompletes,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:
-
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.Builderavoiding the need to create one manually viaResourcePricing.builder().When the
Consumercompletes,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:
-