Interface CustomLineItemVersionListElement.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<CustomLineItemVersionListElement.Builder,
,CustomLineItemVersionListElement> SdkBuilder<CustomLineItemVersionListElement.Builder,
,CustomLineItemVersionListElement> SdkPojo
- Enclosing class:
CustomLineItemVersionListElement
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Web Services account in which this custom line item will be applied to.A list of custom line item Amazon Resource Names (ARNs) to retrieve information.associationSize
(Long associationSize) The number of resources that are associated with the custom line item.billingGroupArn
(String billingGroupArn) The Amazon Resource Name (ARN) of the billing group that the custom line item applies to.chargeDetails
(Consumer<ListCustomLineItemChargeDetails.Builder> chargeDetails) Sets the value of the ChargeDetails property for this object.chargeDetails
(ListCustomLineItemChargeDetails chargeDetails) Sets the value of the ChargeDetails property for this object.creationTime
(Long creationTime) The time when the custom line item version was created.currencyCode
(String currencyCode) The charge value currency of the custom line item.currencyCode
(CurrencyCode currencyCode) The charge value currency of the custom line item.description
(String description) The description of the custom line item.endBillingPeriod
(String endBillingPeriod) The end billing period of the custom line item version.lastModifiedTime
(Long lastModifiedTime) The most recent time that the custom line item version was modified.The name of the custom line item.productCode
(String productCode) The product code that’s associated with the custom line item.startBillingPeriod
(String startBillingPeriod) The start billing period of the custom line item version.The inclusive start time.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, sdkFields
-
Method Details
-
name
The name of the custom line item.
- Parameters:
name
- The name of the custom line item.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
chargeDetails
CustomLineItemVersionListElement.Builder chargeDetails(ListCustomLineItemChargeDetails chargeDetails) Sets the value of the ChargeDetails property for this object.- Parameters:
chargeDetails
- The new value for the ChargeDetails property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
chargeDetails
default CustomLineItemVersionListElement.Builder chargeDetails(Consumer<ListCustomLineItemChargeDetails.Builder> chargeDetails) Sets the value of the ChargeDetails property for this object. This is a convenience method that creates an instance of theListCustomLineItemChargeDetails.Builder
avoiding the need to create one manually viaListCustomLineItemChargeDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tochargeDetails(ListCustomLineItemChargeDetails)
.- Parameters:
chargeDetails
- a consumer that will call methods onListCustomLineItemChargeDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
currencyCode
The charge value currency of the custom line item.
- Parameters:
currencyCode
- The charge value currency of the custom line item.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
currencyCode
The charge value currency of the custom line item.
- Parameters:
currencyCode
- The charge value currency of the custom line item.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
description
The description of the custom line item.
- Parameters:
description
- The description of the custom line item.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
productCode
The product code that’s associated with the custom line item.
- Parameters:
productCode
- The product code that’s associated with the custom line item.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
billingGroupArn
The Amazon Resource Name (ARN) of the billing group that the custom line item applies to.
- Parameters:
billingGroupArn
- The Amazon Resource Name (ARN) of the billing group that the custom line item applies to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
creationTime
The time when the custom line item version was created.
- Parameters:
creationTime
- The time when the custom line item version was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastModifiedTime
The most recent time that the custom line item version was modified.
- Parameters:
lastModifiedTime
- The most recent time that the custom line item version was modified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
associationSize
The number of resources that are associated with the custom line item.
- Parameters:
associationSize
- The number of resources that are associated with the custom line item.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
startBillingPeriod
The start billing period of the custom line item version.
- Parameters:
startBillingPeriod
- The start billing period of the custom line item version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endBillingPeriod
The end billing period of the custom line item version.
- Parameters:
endBillingPeriod
- The end billing period of the custom line item version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
arn
A list of custom line item Amazon Resource Names (ARNs) to retrieve information.
- Parameters:
arn
- A list of custom line item Amazon Resource Names (ARNs) to retrieve information.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
startTime
The inclusive start time.
- Parameters:
startTime
- The inclusive start time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accountId
The Amazon Web Services account in which this custom line item will be applied to.
- Parameters:
accountId
- The Amazon Web Services account in which this custom line item will be applied to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-