Interface CustomLineItemVersionListElement.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<CustomLineItemVersionListElement.Builder,CustomLineItemVersionListElement>,SdkBuilder<CustomLineItemVersionListElement.Builder,CustomLineItemVersionListElement>,SdkPojo
- Enclosing class:
- CustomLineItemVersionListElement
public static interface CustomLineItemVersionListElement.Builder extends SdkPojo, CopyableBuilder<CustomLineItemVersionListElement.Builder,CustomLineItemVersionListElement>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description CustomLineItemVersionListElement.BuilderaccountId(String accountId)The Amazon Web Services account in which this custom line item will be applied to.CustomLineItemVersionListElement.Builderarn(String arn)A list of custom line item Amazon Resource Names (ARNs) to retrieve information.CustomLineItemVersionListElement.BuilderassociationSize(Long associationSize)The number of resources that are associated with the custom line item.CustomLineItemVersionListElement.BuilderbillingGroupArn(String billingGroupArn)The Amazon Resource Name (ARN) of the billing group that the custom line item applies to.default CustomLineItemVersionListElement.BuilderchargeDetails(Consumer<ListCustomLineItemChargeDetails.Builder> chargeDetails)Sets the value of the ChargeDetails property for this object.CustomLineItemVersionListElement.BuilderchargeDetails(ListCustomLineItemChargeDetails chargeDetails)Sets the value of the ChargeDetails property for this object.CustomLineItemVersionListElement.BuildercreationTime(Long creationTime)The time when the custom line item version was created.CustomLineItemVersionListElement.BuildercurrencyCode(String currencyCode)The charge value currency of the custom line item.CustomLineItemVersionListElement.BuildercurrencyCode(CurrencyCode currencyCode)The charge value currency of the custom line item.CustomLineItemVersionListElement.Builderdescription(String description)The description of the custom line item.CustomLineItemVersionListElement.BuilderendBillingPeriod(String endBillingPeriod)The end billing period of the custom line item version.CustomLineItemVersionListElement.BuilderlastModifiedTime(Long lastModifiedTime)The most recent time that the custom line item version was modified.CustomLineItemVersionListElement.Buildername(String name)The name of the custom line item.CustomLineItemVersionListElement.BuilderproductCode(String productCode)The product code that’s associated with the custom line item.CustomLineItemVersionListElement.BuilderstartBillingPeriod(String startBillingPeriod)The start billing period of the custom line item version.CustomLineItemVersionListElement.BuilderstartTime(Long startTime)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 Detail
-
name
CustomLineItemVersionListElement.Builder name(String 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.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
CustomLineItemVersionListElement.Builder currencyCode(String 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,CurrencyCode
-
currencyCode
CustomLineItemVersionListElement.Builder currencyCode(CurrencyCode 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,CurrencyCode
-
description
CustomLineItemVersionListElement.Builder description(String 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
CustomLineItemVersionListElement.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
CustomLineItemVersionListElement.Builder billingGroupArn(String 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
CustomLineItemVersionListElement.Builder creationTime(Long 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
CustomLineItemVersionListElement.Builder lastModifiedTime(Long 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
CustomLineItemVersionListElement.Builder associationSize(Long 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
CustomLineItemVersionListElement.Builder startBillingPeriod(String 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
CustomLineItemVersionListElement.Builder endBillingPeriod(String 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
CustomLineItemVersionListElement.Builder arn(String 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
CustomLineItemVersionListElement.Builder startTime(Long 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
CustomLineItemVersionListElement.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.
-
-