Interface GetUsageLinesEstimatedCostInput.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<GetUsageLinesEstimatedCostInput.Builder,,GetUsageLinesEstimatedCostInput> SdkBuilder<GetUsageLinesEstimatedCostInput.Builder,,GetUsageLinesEstimatedCostInput> SdkPojo
- Enclosing class:
GetUsageLinesEstimatedCostInput
@Mutable
@NotThreadSafe
public static interface GetUsageLinesEstimatedCostInput.Builder
extends SdkPojo, CopyableBuilder<GetUsageLinesEstimatedCostInput.Builder,GetUsageLinesEstimatedCostInput>
-
Method Summary
Modifier and TypeMethodDescriptionThe usage amount to price for the usage line in the usage type's pricing unit.A unique identifier for the usage line in the request.The operation of the usage line, for exampleRunInstances.serviceCode(String serviceCode) The Amazon Web Services service code of the usage line, for exampleAmazonEC2.The usage type of the usage line, for exampleBoxUsage:t3.micro.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
-
serviceCode
The Amazon Web Services service code of the usage line, for example
AmazonEC2.- Parameters:
serviceCode- The Amazon Web Services service code of the usage line, for exampleAmazonEC2.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
usageType
The usage type of the usage line, for example
BoxUsage:t3.micro.- Parameters:
usageType- The usage type of the usage line, for exampleBoxUsage:t3.micro.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
operation
The operation of the usage line, for example
RunInstances.- Parameters:
operation- The operation of the usage line, for exampleRunInstances.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
key
A unique identifier for the usage line in the request. Use the key to match the usage line with its result in
lineItemsorerrorsin the response.- Parameters:
key- A unique identifier for the usage line in the request. Use the key to match the usage line with its result inlineItemsorerrorsin the response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
amount
The usage amount to price for the usage line in the usage type's pricing unit. This value must be 0 or greater.
- Parameters:
amount- The usage amount to price for the usage line in the usage type's pricing unit. This value must be 0 or greater.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-