Class CustomLineItemListElement
- java.lang.Object
-
- software.amazon.awssdk.services.billingconductor.model.CustomLineItemListElement
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<CustomLineItemListElement.Builder,CustomLineItemListElement>
@Generated("software.amazon.awssdk:codegen") public final class CustomLineItemListElement extends Object implements SdkPojo, Serializable, ToCopyableBuilder<CustomLineItemListElement.Builder,CustomLineItemListElement>
A representation of a custom line item.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceCustomLineItemListElement.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringaccountId()The Amazon Web Services account in which this custom line item will be applied to.Stringarn()The Amazon Resource Names (ARNs) for custom line items.LongassociationSize()The number of resources that are associated to the custom line item.StringbillingGroupArn()The Amazon Resource Name (ARN) that references the billing group where the custom line item applies to.static CustomLineItemListElement.Builderbuilder()ListCustomLineItemChargeDetailschargeDetails()AListCustomLineItemChargeDetailsthat describes the charge details of a custom line item.LongcreationTime()The time created.CurrencyCodecurrencyCode()The custom line item's charge value currency.StringcurrencyCodeAsString()The custom line item's charge value currency.Stringdescription()The custom line item's description.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()LonglastModifiedTime()The most recent time when the custom line item was modified.Stringname()The custom line item's name.StringproductCode()The product code that's associated with the custom line item.List<SdkField<?>>sdkFields()static Class<? extends CustomLineItemListElement.Builder>serializableBuilderClass()CustomLineItemListElement.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
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
ListCustomLineItemChargeDetailsthat describes the charge details of a custom line item.- Returns:
- A
ListCustomLineItemChargeDetailsthat 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,
currencyCodewill returnCurrencyCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromcurrencyCodeAsString().- 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,
currencyCodewill returnCurrencyCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromcurrencyCodeAsString().- 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.
-
toBuilder
public CustomLineItemListElement.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<CustomLineItemListElement.Builder,CustomLineItemListElement>
-
builder
public static CustomLineItemListElement.Builder builder()
-
serializableBuilderClass
public static Class<? extends CustomLineItemListElement.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
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.
-
-