Interface GetUsageLinesEstimatedCostLineItem.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<GetUsageLinesEstimatedCostLineItem.Builder,,GetUsageLinesEstimatedCostLineItem> SdkBuilder<GetUsageLinesEstimatedCostLineItem.Builder,,GetUsageLinesEstimatedCostLineItem> SdkPojo
- Enclosing class:
GetUsageLinesEstimatedCostLineItem
@Mutable
@NotThreadSafe
public static interface GetUsageLinesEstimatedCostLineItem.Builder
extends SdkPojo, CopyableBuilder<GetUsageLinesEstimatedCostLineItem.Builder,GetUsageLinesEstimatedCostLineItem>
-
Method Summary
Modifier and TypeMethodDescriptionestimatedCost(Consumer<GetUsageLinesEstimatedCostEstimatedCost.Builder> estimatedCost) The estimated cost of the usage amount in the request.estimatedCost(GetUsageLinesEstimatedCostEstimatedCost estimatedCost) The estimated cost of the usage amount in the request.The key of the usage line in the request.The operation of the usage line.serviceCode(String serviceCode) The Amazon Web Services service code of the usage line.The usage type of the usage line.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, sdkFieldNameToField, sdkFields
-
Method Details
-
key
The key of the usage line in the request.
- Parameters:
key- The key of the usage line in the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serviceCode
The Amazon Web Services service code of the usage line.
- Parameters:
serviceCode- The Amazon Web Services service code of the usage line.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
usageType
The usage type of the usage line.
- Parameters:
usageType- The usage type of the usage line.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
operation
The operation of the usage line.
- Parameters:
operation- The operation of the usage line.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
estimatedCost
GetUsageLinesEstimatedCostLineItem.Builder estimatedCost(GetUsageLinesEstimatedCostEstimatedCost estimatedCost) The estimated cost of the usage amount in the request.
- Parameters:
estimatedCost- The estimated cost of the usage amount in the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
estimatedCost
default GetUsageLinesEstimatedCostLineItem.Builder estimatedCost(Consumer<GetUsageLinesEstimatedCostEstimatedCost.Builder> estimatedCost) The estimated cost of the usage amount in the request.
This is a convenience method that creates an instance of theGetUsageLinesEstimatedCostEstimatedCost.Builderavoiding the need to create one manually viaGetUsageLinesEstimatedCostEstimatedCost.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toestimatedCost(GetUsageLinesEstimatedCostEstimatedCost).- Parameters:
estimatedCost- a consumer that will call methods onGetUsageLinesEstimatedCostEstimatedCost.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-