@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CustomLineItemListElement extends Object implements Serializable, Cloneable, StructuredPojo
A representation of a custom line item.
Constructor and Description |
---|
CustomLineItemListElement() |
Modifier and Type | Method and Description |
---|---|
CustomLineItemListElement |
clone() |
boolean |
equals(Object obj) |
String |
getAccountId()
The Amazon Web Services account in which this custom line item will be applied to.
|
String |
getArn()
The Amazon Resource Names (ARNs) for custom line items.
|
Long |
getAssociationSize()
The number of resources that are associated to the custom line item.
|
String |
getBillingGroupArn()
The Amazon Resource Name (ARN) that references the billing group where the custom line item applies to.
|
ListCustomLineItemChargeDetails |
getChargeDetails()
A
ListCustomLineItemChargeDetails that describes the charge details of a custom line item. |
Long |
getCreationTime()
The time created.
|
String |
getCurrencyCode()
The custom line item's charge value currency.
|
String |
getDescription()
The custom line item's description.
|
Long |
getLastModifiedTime()
The most recent time when the custom line item was modified.
|
String |
getName()
The custom line item's name.
|
String |
getProductCode()
The product code that's associated with the custom line item.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAccountId(String accountId)
The Amazon Web Services account in which this custom line item will be applied to.
|
void |
setArn(String arn)
The Amazon Resource Names (ARNs) for custom line items.
|
void |
setAssociationSize(Long associationSize)
The number of resources that are associated to the custom line item.
|
void |
setBillingGroupArn(String billingGroupArn)
The Amazon Resource Name (ARN) that references the billing group where the custom line item applies to.
|
void |
setChargeDetails(ListCustomLineItemChargeDetails chargeDetails)
A
ListCustomLineItemChargeDetails that describes the charge details of a custom line item. |
void |
setCreationTime(Long creationTime)
The time created.
|
void |
setCurrencyCode(String currencyCode)
The custom line item's charge value currency.
|
void |
setDescription(String description)
The custom line item's description.
|
void |
setLastModifiedTime(Long lastModifiedTime)
The most recent time when the custom line item was modified.
|
void |
setName(String name)
The custom line item's name.
|
void |
setProductCode(String productCode)
The product code that's associated with the custom line item.
|
String |
toString()
Returns a string representation of this object.
|
CustomLineItemListElement |
withAccountId(String accountId)
The Amazon Web Services account in which this custom line item will be applied to.
|
CustomLineItemListElement |
withArn(String arn)
The Amazon Resource Names (ARNs) for custom line items.
|
CustomLineItemListElement |
withAssociationSize(Long associationSize)
The number of resources that are associated to the custom line item.
|
CustomLineItemListElement |
withBillingGroupArn(String billingGroupArn)
The Amazon Resource Name (ARN) that references the billing group where the custom line item applies to.
|
CustomLineItemListElement |
withChargeDetails(ListCustomLineItemChargeDetails chargeDetails)
A
ListCustomLineItemChargeDetails that describes the charge details of a custom line item. |
CustomLineItemListElement |
withCreationTime(Long creationTime)
The time created.
|
CustomLineItemListElement |
withCurrencyCode(CurrencyCode currencyCode)
The custom line item's charge value currency.
|
CustomLineItemListElement |
withCurrencyCode(String currencyCode)
The custom line item's charge value currency.
|
CustomLineItemListElement |
withDescription(String description)
The custom line item's description.
|
CustomLineItemListElement |
withLastModifiedTime(Long lastModifiedTime)
The most recent time when the custom line item was modified.
|
CustomLineItemListElement |
withName(String name)
The custom line item's name.
|
CustomLineItemListElement |
withProductCode(String productCode)
The product code that's associated with the custom line item.
|
public void setArn(String arn)
The Amazon Resource Names (ARNs) for custom line items.
arn
- The Amazon Resource Names (ARNs) for custom line items.public String getArn()
The Amazon Resource Names (ARNs) for custom line items.
public CustomLineItemListElement withArn(String arn)
The Amazon Resource Names (ARNs) for custom line items.
arn
- The Amazon Resource Names (ARNs) for custom line items.public void setName(String name)
The custom line item's name.
name
- The custom line item's name.public String getName()
The custom line item's name.
public CustomLineItemListElement withName(String name)
The custom line item's name.
name
- The custom line item's name.public void setChargeDetails(ListCustomLineItemChargeDetails chargeDetails)
A ListCustomLineItemChargeDetails
that describes the charge details of a custom line item.
chargeDetails
- A ListCustomLineItemChargeDetails
that describes the charge details of a custom line item.public ListCustomLineItemChargeDetails getChargeDetails()
A ListCustomLineItemChargeDetails
that describes the charge details of a custom line item.
ListCustomLineItemChargeDetails
that describes the charge details of a custom line item.public CustomLineItemListElement withChargeDetails(ListCustomLineItemChargeDetails chargeDetails)
A ListCustomLineItemChargeDetails
that describes the charge details of a custom line item.
chargeDetails
- A ListCustomLineItemChargeDetails
that describes the charge details of a custom line item.public void setCurrencyCode(String currencyCode)
The custom line item's charge value currency. Only one of the valid values can be used.
currencyCode
- The custom line item's charge value currency. Only one of the valid values can be used.CurrencyCode
public String getCurrencyCode()
The custom line item's charge value currency. Only one of the valid values can be used.
CurrencyCode
public CustomLineItemListElement withCurrencyCode(String currencyCode)
The custom line item's charge value currency. Only one of the valid values can be used.
currencyCode
- The custom line item's charge value currency. Only one of the valid values can be used.CurrencyCode
public CustomLineItemListElement withCurrencyCode(CurrencyCode currencyCode)
The custom line item's charge value currency. Only one of the valid values can be used.
currencyCode
- The custom line item's charge value currency. Only one of the valid values can be used.CurrencyCode
public void setDescription(String description)
The custom line item's description. This is shown on the Bills page in association with the charge value.
description
- The custom line item's description. This is shown on the Bills page in association with the charge value.public String getDescription()
The custom line item's description. This is shown on the Bills page in association with the charge value.
public CustomLineItemListElement withDescription(String description)
The custom line item's description. This is shown on the Bills page in association with the charge value.
description
- The custom line item's description. This is shown on the Bills page in association with the charge value.public void setProductCode(String productCode)
The product code that's associated with the custom line item.
productCode
- The product code that's associated with the custom line item.public String getProductCode()
The product code that's associated with the custom line item.
public CustomLineItemListElement withProductCode(String productCode)
The product code that's associated with the custom line item.
productCode
- The product code that's associated with the custom line item.public void setBillingGroupArn(String billingGroupArn)
The Amazon Resource Name (ARN) that references the billing group where the custom line item applies to.
billingGroupArn
- The Amazon Resource Name (ARN) that references the billing group where the custom line item applies to.public String getBillingGroupArn()
The Amazon Resource Name (ARN) that references the billing group where the custom line item applies to.
public CustomLineItemListElement withBillingGroupArn(String billingGroupArn)
The Amazon Resource Name (ARN) that references the billing group where the custom line item applies to.
billingGroupArn
- The Amazon Resource Name (ARN) that references the billing group where the custom line item applies to.public void setCreationTime(Long creationTime)
The time created.
creationTime
- The time created.public Long getCreationTime()
The time created.
public CustomLineItemListElement withCreationTime(Long creationTime)
The time created.
creationTime
- The time created.public void setLastModifiedTime(Long lastModifiedTime)
The most recent time when the custom line item was modified.
lastModifiedTime
- The most recent time when the custom line item was modified.public Long getLastModifiedTime()
The most recent time when the custom line item was modified.
public CustomLineItemListElement withLastModifiedTime(Long lastModifiedTime)
The most recent time when the custom line item was modified.
lastModifiedTime
- The most recent time when the custom line item was modified.public void setAssociationSize(Long associationSize)
The number of resources that are associated to the custom line item.
associationSize
- The number of resources that are associated to the custom line item.public Long getAssociationSize()
The number of resources that are associated to the custom line item.
public CustomLineItemListElement withAssociationSize(Long associationSize)
The number of resources that are associated to the custom line item.
associationSize
- The number of resources that are associated to the custom line item.public void setAccountId(String accountId)
The Amazon Web Services account in which this custom line item will be applied to.
accountId
- The Amazon Web Services account in which this custom line item will be applied to.public String getAccountId()
The Amazon Web Services account in which this custom line item will be applied to.
public CustomLineItemListElement withAccountId(String accountId)
The Amazon Web Services account in which this custom line item will be applied to.
accountId
- The Amazon Web Services account in which this custom line item will be applied to.public String toString()
toString
in class Object
Object.toString()
public CustomLineItemListElement clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.