Interface ThirdPartyCostItem.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ThirdPartyCostItem.Builder,,ThirdPartyCostItem> SdkBuilder<ThirdPartyCostItem.Builder,,ThirdPartyCostItem> SdkPojo
- Enclosing class:
ThirdPartyCostItem
-
Method Summary
Modifier and TypeMethodDescriptionThe flat monthly amount as a decimal string (for example, "12.50").The ID of the app the cost belongs to.The ID of the cost.The time the cost was created.The currency of the amount.The currency of the amount.description(String description) A free-form description of the cost.effectiveFrom(String effectiveFrom) First month (YYYY-MM) the cost applies in.effectiveTo(String effectiveTo) Last month (YYYY-MM) the cost applies in.How often the cost recurs.frequency(ThirdPartyCostFrequency frequency) How often the cost recurs.A human-readable label for the cost (for example, "Anthropic API").The time the cost was last updated.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
-
appId
The ID of the app the cost belongs to.
- Parameters:
appId- The ID of the app the cost belongs to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
costId
The ID of the cost.
- Parameters:
costId- The ID of the cost.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
label
A human-readable label for the cost (for example, "Anthropic API").
- Parameters:
label- A human-readable label for the cost (for example, "Anthropic API").- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
amount
The flat monthly amount as a decimal string (for example, "12.50").
- Parameters:
amount- The flat monthly amount as a decimal string (for example, "12.50").- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
frequency
How often the cost recurs. MONTHLY is the only value today.
- Parameters:
frequency- How often the cost recurs. MONTHLY is the only value today.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
frequency
How often the cost recurs. MONTHLY is the only value today.
- Parameters:
frequency- How often the cost recurs. MONTHLY is the only value today.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
currency
The currency of the amount. USD is the only supported currency.
- Parameters:
currency- The currency of the amount. USD is the only supported currency.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
currency
The currency of the amount. USD is the only supported currency.
- Parameters:
currency- The currency of the amount. USD is the only supported currency.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
description
A free-form description of the cost.
- Parameters:
description- A free-form description of the cost.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
effectiveFrom
First month (YYYY-MM) the cost applies in. Absent means the cost has no start month.
- Parameters:
effectiveFrom- First month (YYYY-MM) the cost applies in. Absent means the cost has no start month.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
effectiveTo
Last month (YYYY-MM) the cost applies in. Absent means the cost has no end month.
- Parameters:
effectiveTo- Last month (YYYY-MM) the cost applies in. Absent means the cost has no end month.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdAt
The time the cost was created.
- Parameters:
createdAt- The time the cost was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updatedAt
The time the cost was last updated.
- Parameters:
updatedAt- The time the cost was last updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-