Interface CustomLineItemListElement.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<CustomLineItemListElement.Builder,CustomLineItemListElement>,SdkBuilder<CustomLineItemListElement.Builder,CustomLineItemListElement>,SdkPojo
- Enclosing class:
- CustomLineItemListElement
public static interface CustomLineItemListElement.Builder extends SdkPojo, CopyableBuilder<CustomLineItemListElement.Builder,CustomLineItemListElement>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description CustomLineItemListElement.BuilderaccountId(String accountId)The Amazon Web Services account in which this custom line item will be applied to.CustomLineItemListElement.Builderarn(String arn)The Amazon Resource Names (ARNs) for custom line items.CustomLineItemListElement.BuilderassociationSize(Long associationSize)The number of resources that are associated to the custom line item.CustomLineItemListElement.BuilderbillingGroupArn(String billingGroupArn)The Amazon Resource Name (ARN) that references the billing group where the custom line item applies to.default CustomLineItemListElement.BuilderchargeDetails(Consumer<ListCustomLineItemChargeDetails.Builder> chargeDetails)AListCustomLineItemChargeDetailsthat describes the charge details of a custom line item.CustomLineItemListElement.BuilderchargeDetails(ListCustomLineItemChargeDetails chargeDetails)AListCustomLineItemChargeDetailsthat describes the charge details of a custom line item.CustomLineItemListElement.BuildercreationTime(Long creationTime)The time created.CustomLineItemListElement.BuildercurrencyCode(String currencyCode)The custom line item's charge value currency.CustomLineItemListElement.BuildercurrencyCode(CurrencyCode currencyCode)The custom line item's charge value currency.CustomLineItemListElement.Builderdescription(String description)The custom line item's description.CustomLineItemListElement.BuilderlastModifiedTime(Long lastModifiedTime)The most recent time when the custom line item was modified.CustomLineItemListElement.Buildername(String name)The custom line item's name.CustomLineItemListElement.BuilderproductCode(String productCode)The product code that's associated with the custom line item.-
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 Detail
-
arn
CustomLineItemListElement.Builder arn(String arn)
The Amazon Resource Names (ARNs) for custom line items.
- Parameters:
arn- The Amazon Resource Names (ARNs) for custom line items.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
CustomLineItemListElement.Builder name(String name)
The custom line item's name.
- Parameters:
name- The custom line item's name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
chargeDetails
CustomLineItemListElement.Builder chargeDetails(ListCustomLineItemChargeDetails chargeDetails)
A
ListCustomLineItemChargeDetailsthat describes the charge details of a custom line item.- Parameters:
chargeDetails- AListCustomLineItemChargeDetailsthat describes the charge details of a custom line item.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
chargeDetails
default CustomLineItemListElement.Builder chargeDetails(Consumer<ListCustomLineItemChargeDetails.Builder> chargeDetails)
A
This is a convenience method that creates an instance of theListCustomLineItemChargeDetailsthat describes the charge details of a custom line item.ListCustomLineItemChargeDetails.Builderavoiding the need to create one manually viaListCustomLineItemChargeDetails.builder().When the
Consumercompletes,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:
chargeDetails(ListCustomLineItemChargeDetails)
-
currencyCode
CustomLineItemListElement.Builder currencyCode(String currencyCode)
The custom line item's charge value currency. Only one of the valid values can be used.
- Parameters:
currencyCode- The custom line item's charge value currency. Only one of the valid values can be used.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
CurrencyCode,CurrencyCode
-
currencyCode
CustomLineItemListElement.Builder currencyCode(CurrencyCode currencyCode)
The custom line item's charge value currency. Only one of the valid values can be used.
- Parameters:
currencyCode- The custom line item's charge value currency. Only one of the valid values can be used.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
CurrencyCode,CurrencyCode
-
description
CustomLineItemListElement.Builder description(String description)
The custom line item's description. This is shown on the Bills page in association with the charge value.
- Parameters:
description- The custom line item's description. This is shown on the Bills page in association with the charge value.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
productCode
CustomLineItemListElement.Builder productCode(String 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
CustomLineItemListElement.Builder billingGroupArn(String billingGroupArn)
The Amazon Resource Name (ARN) that references the billing group where the custom line item applies to.
- Parameters:
billingGroupArn- The Amazon Resource Name (ARN) that references the billing group where the custom line item applies to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
creationTime
CustomLineItemListElement.Builder creationTime(Long creationTime)
The time created.
- Parameters:
creationTime- The time created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastModifiedTime
CustomLineItemListElement.Builder lastModifiedTime(Long lastModifiedTime)
The most recent time when the custom line item was modified.
- Parameters:
lastModifiedTime- The most recent time when the custom line item was modified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
associationSize
CustomLineItemListElement.Builder associationSize(Long associationSize)
The number of resources that are associated to the custom line item.
- Parameters:
associationSize- The number of resources that are associated to the custom line item.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accountId
CustomLineItemListElement.Builder accountId(String 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.
-
-