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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default ResourceCostCalculation.Builderpricing(Consumer<ResourcePricing.Builder> pricing)Pricing details of the resource recommendation.ResourceCostCalculation.Builderpricing(ResourcePricing pricing)Pricing details of the resource recommendation.ResourceCostCalculation.Builderusages(Collection<Usage> usages)Usage details of the resource recommendation.ResourceCostCalculation.Builderusages(Consumer<Usage.Builder>... usages)Usage details of the resource recommendation.ResourceCostCalculation.Builderusages(Usage... usages)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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
usages
ResourceCostCalculation.Builder usages(Collection<Usage> 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
ResourceCostCalculation.Builder usages(Usage... 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
ResourceCostCalculation.Builder usages(Consumer<Usage.Builder>... 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 to#usages(List.) - 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:
#usages(java.util.Collection)
-
pricing
ResourceCostCalculation.Builder pricing(ResourcePricing 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
default ResourceCostCalculation.Builder pricing(Consumer<ResourcePricing.Builder> 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:
pricing(ResourcePricing)
-
-