Class CustomLineItemVersionListElement

    • Method Detail

      • name

        public final String name()

        The name of the custom line item.

        Returns:
        The name of the custom line item.
      • chargeDetails

        public final ListCustomLineItemChargeDetails chargeDetails()
        Returns the value of the ChargeDetails property for this object.
        Returns:
        The value of the ChargeDetails property for this object.
      • currencyCode

        public final CurrencyCode currencyCode()

        The charge value currency of the custom line item.

        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 charge value currency of the custom line item.
        See Also:
        CurrencyCode
      • currencyCodeAsString

        public final String currencyCodeAsString()

        The charge value currency of the custom line item.

        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 charge value currency of the custom line item.
        See Also:
        CurrencyCode
      • description

        public final String description()

        The description of the custom line item.

        Returns:
        The description of the custom line item.
      • 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) of the billing group that the custom line item applies to.

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

        public final Long creationTime()

        The time when the custom line item version was created.

        Returns:
        The time when the custom line item version was created.
      • lastModifiedTime

        public final Long lastModifiedTime()

        The most recent time that the custom line item version was modified.

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

        public final Long associationSize()

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

        Returns:
        The number of resources that are associated with the custom line item.
      • startBillingPeriod

        public final String startBillingPeriod()

        The start billing period of the custom line item version.

        Returns:
        The start billing period of the custom line item version.
      • endBillingPeriod

        public final String endBillingPeriod()

        The end billing period of the custom line item version.

        Returns:
        The end billing period of the custom line item version.
      • arn

        public final String arn()

        A list of custom line item Amazon Resource Names (ARNs) to retrieve information.

        Returns:
        A list of custom line item Amazon Resource Names (ARNs) to retrieve information.
      • startTime

        public final Long startTime()

        The inclusive start time.

        Returns:
        The inclusive start time.
      • 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)