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 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

      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

      Sets the value of the ChargeDetails property for this object. This is a convenience method that creates an instance of the ListCustomLineItemChargeDetails.Builder avoiding the need to create one manually via ListCustomLineItemChargeDetails.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to chargeDetails(ListCustomLineItemChargeDetails).

      Parameters:
      chargeDetails - a consumer that will call methods on ListCustomLineItemChargeDetails.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

      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

      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.