Class CustomLineItemListElement

    • Method Detail

      • arn

        public final String arn()

        The Amazon Resource Names (ARNs) for custom line items.

        Returns:
        The Amazon Resource Names (ARNs) for custom line items.
      • name

        public final String name()

        The custom line item's name.

        Returns:
        The custom line item's name.
      • chargeDetails

        public final ListCustomLineItemChargeDetails chargeDetails()

        A ListCustomLineItemChargeDetails that describes the charge details of a custom line item.

        Returns:
        A ListCustomLineItemChargeDetails that describes the charge details of a custom line item.
      • currencyCode

        public final CurrencyCode currencyCode()

        The custom line item's charge value currency. Only one of the valid values can be used.

        If the service returns an enum value that is not available in the current SDK version, currencyCode will return CurrencyCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from currencyCodeAsString().

        Returns:
        The custom line item's charge value currency. Only one of the valid values can be used.
        See Also:
        CurrencyCode
      • currencyCodeAsString

        public final String currencyCodeAsString()

        The custom line item's charge value currency. Only one of the valid values can be used.

        If the service returns an enum value that is not available in the current SDK version, currencyCode will return CurrencyCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from currencyCodeAsString().

        Returns:
        The custom line item's charge value currency. Only one of the valid values can be used.
        See Also:
        CurrencyCode
      • description

        public final String description()

        The custom line item's description. This is shown on the Bills page in association with the charge value.

        Returns:
        The custom line item's description. This is shown on the Bills page in association with the charge value.
      • productCode

        public final String productCode()

        The product code that's associated with the custom line item.

        Returns:
        The product code that's associated with the custom line item.
      • billingGroupArn

        public final String billingGroupArn()

        The Amazon Resource Name (ARN) that references the billing group where the custom line item applies to.

        Returns:
        The Amazon Resource Name (ARN) that references the billing group where the custom line item applies to.
      • creationTime

        public final Long creationTime()

        The time created.

        Returns:
        The time created.
      • lastModifiedTime

        public final Long lastModifiedTime()

        The most recent time when the custom line item was modified.

        Returns:
        The most recent time when the custom line item was modified.
      • associationSize

        public final Long associationSize()

        The number of resources that are associated to the custom line item.

        Returns:
        The number of resources that are associated to the custom line item.
      • accountId

        public final String accountId()

        The Amazon Web Services account in which this custom line item will be applied to.

        Returns:
        The Amazon Web Services account in which this custom line item will be applied to.
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)