Class CustomLineItemVersionListElement
- java.lang.Object
-
- software.amazon.awssdk.services.billingconductor.model.CustomLineItemVersionListElement
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<CustomLineItemVersionListElement.Builder,CustomLineItemVersionListElement>
@Generated("software.amazon.awssdk:codegen") public final class CustomLineItemVersionListElement extends Object implements SdkPojo, Serializable, ToCopyableBuilder<CustomLineItemVersionListElement.Builder,CustomLineItemVersionListElement>
A representation of a custom line item version.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceCustomLineItemVersionListElement.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()A list of custom line item Amazon Resource Names (ARNs) to retrieve information.LongassociationSize()The number of resources that are associated with the custom line item.StringbillingGroupArn()The Amazon Resource Name (ARN) of the billing group that the custom line item applies to.static CustomLineItemVersionListElement.Builderbuilder()ListCustomLineItemChargeDetailschargeDetails()Returns the value of the ChargeDetails property for this object.LongcreationTime()The time when the custom line item version was created.CurrencyCodecurrencyCode()The charge value currency of the custom line item.StringcurrencyCodeAsString()The charge value currency of the custom line item.Stringdescription()The description of the custom line item.StringendBillingPeriod()The end billing period of the custom line item version.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()LonglastModifiedTime()The most recent time that the custom line item version was modified.Stringname()The name of the custom line item.StringproductCode()The product code that’s associated with the custom line item.List<SdkField<?>>sdkFields()static Class<? extends CustomLineItemVersionListElement.Builder>serializableBuilderClass()StringstartBillingPeriod()The start billing period of the custom line item version.LongstartTime()The inclusive start time.CustomLineItemVersionListElement.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
-
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,
currencyCodewill returnCurrencyCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromcurrencyCodeAsString().- 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,
currencyCodewill returnCurrencyCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromcurrencyCodeAsString().- 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.
-
toBuilder
public CustomLineItemVersionListElement.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<CustomLineItemVersionListElement.Builder,CustomLineItemVersionListElement>
-
builder
public static CustomLineItemVersionListElement.Builder builder()
-
serializableBuilderClass
public static Class<? extends CustomLineItemVersionListElement.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.
-
-