@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CustomLineItemVersionListElement extends Object implements Serializable, Cloneable, StructuredPojo
A representation of a custom line item version.
Constructor and Description |
---|
CustomLineItemVersionListElement() |
Modifier and Type | Method and Description |
---|---|
CustomLineItemVersionListElement |
clone() |
boolean |
equals(Object obj) |
String |
getAccountId()
The Amazon Web Services account in which this custom line item will be applied to.
|
String |
getArn()
A list of custom line item Amazon Resource Names (ARNs) to retrieve information.
|
Long |
getAssociationSize()
The number of resources that are associated with the custom line item.
|
String |
getBillingGroupArn()
The Amazon Resource Name (ARN) of the billing group that the custom line item applies to.
|
ListCustomLineItemChargeDetails |
getChargeDetails() |
Long |
getCreationTime()
The time when the custom line item version was created.
|
String |
getCurrencyCode()
The charge value currency of the custom line item.
|
String |
getDescription()
The description of the custom line item.
|
String |
getEndBillingPeriod()
The end billing period of the custom line item version.
|
Long |
getLastModifiedTime()
The most recent time that the custom line item version was modified.
|
String |
getName()
The name of the custom line item.
|
String |
getProductCode()
The product code that’s associated with the custom line item.
|
String |
getStartBillingPeriod()
The start billing period of the custom line item version.
|
Long |
getStartTime()
The inclusive start time.
|
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)
A list of custom line item Amazon Resource Names (ARNs) to retrieve information.
|
void |
setAssociationSize(Long associationSize)
The number of resources that are associated with the custom line item.
|
void |
setBillingGroupArn(String billingGroupArn)
The Amazon Resource Name (ARN) of the billing group that the custom line item applies to.
|
void |
setChargeDetails(ListCustomLineItemChargeDetails chargeDetails) |
void |
setCreationTime(Long creationTime)
The time when the custom line item version was created.
|
void |
setCurrencyCode(String currencyCode)
The charge value currency of the custom line item.
|
void |
setDescription(String description)
The description of the custom line item.
|
void |
setEndBillingPeriod(String endBillingPeriod)
The end billing period of the custom line item version.
|
void |
setLastModifiedTime(Long lastModifiedTime)
The most recent time that the custom line item version was modified.
|
void |
setName(String name)
The name of the custom line item.
|
void |
setProductCode(String productCode)
The product code that’s associated with the custom line item.
|
void |
setStartBillingPeriod(String startBillingPeriod)
The start billing period of the custom line item version.
|
void |
setStartTime(Long startTime)
The inclusive start time.
|
String |
toString()
Returns a string representation of this object.
|
CustomLineItemVersionListElement |
withAccountId(String accountId)
The Amazon Web Services account in which this custom line item will be applied to.
|
CustomLineItemVersionListElement |
withArn(String arn)
A list of custom line item Amazon Resource Names (ARNs) to retrieve information.
|
CustomLineItemVersionListElement |
withAssociationSize(Long associationSize)
The number of resources that are associated with the custom line item.
|
CustomLineItemVersionListElement |
withBillingGroupArn(String billingGroupArn)
The Amazon Resource Name (ARN) of the billing group that the custom line item applies to.
|
CustomLineItemVersionListElement |
withChargeDetails(ListCustomLineItemChargeDetails chargeDetails) |
CustomLineItemVersionListElement |
withCreationTime(Long creationTime)
The time when the custom line item version was created.
|
CustomLineItemVersionListElement |
withCurrencyCode(CurrencyCode currencyCode)
The charge value currency of the custom line item.
|
CustomLineItemVersionListElement |
withCurrencyCode(String currencyCode)
The charge value currency of the custom line item.
|
CustomLineItemVersionListElement |
withDescription(String description)
The description of the custom line item.
|
CustomLineItemVersionListElement |
withEndBillingPeriod(String endBillingPeriod)
The end billing period of the custom line item version.
|
CustomLineItemVersionListElement |
withLastModifiedTime(Long lastModifiedTime)
The most recent time that the custom line item version was modified.
|
CustomLineItemVersionListElement |
withName(String name)
The name of the custom line item.
|
CustomLineItemVersionListElement |
withProductCode(String productCode)
The product code that’s associated with the custom line item.
|
CustomLineItemVersionListElement |
withStartBillingPeriod(String startBillingPeriod)
The start billing period of the custom line item version.
|
CustomLineItemVersionListElement |
withStartTime(Long startTime)
The inclusive start time.
|
public void setName(String name)
The name of the custom line item.
name
- The name of the custom line item.public String getName()
The name of the custom line item.
public CustomLineItemVersionListElement withName(String name)
The name of the custom line item.
name
- The name of the custom line item.public void setChargeDetails(ListCustomLineItemChargeDetails chargeDetails)
chargeDetails
- public ListCustomLineItemChargeDetails getChargeDetails()
public CustomLineItemVersionListElement withChargeDetails(ListCustomLineItemChargeDetails chargeDetails)
chargeDetails
- public void setCurrencyCode(String currencyCode)
The charge value currency of the custom line item.
currencyCode
- The charge value currency of the custom line item.CurrencyCode
public String getCurrencyCode()
The charge value currency of the custom line item.
CurrencyCode
public CustomLineItemVersionListElement withCurrencyCode(String currencyCode)
The charge value currency of the custom line item.
currencyCode
- The charge value currency of the custom line item.CurrencyCode
public CustomLineItemVersionListElement withCurrencyCode(CurrencyCode currencyCode)
The charge value currency of the custom line item.
currencyCode
- The charge value currency of the custom line item.CurrencyCode
public void setDescription(String description)
The description of the custom line item.
description
- The description of the custom line item.public String getDescription()
The description of the custom line item.
public CustomLineItemVersionListElement withDescription(String description)
The description of the custom line item.
description
- The description of the custom line item.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 CustomLineItemVersionListElement 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) of the billing group that the custom line item applies to.
billingGroupArn
- The Amazon Resource Name (ARN) of the billing group that the custom line item applies to.public String getBillingGroupArn()
The Amazon Resource Name (ARN) of the billing group that the custom line item applies to.
public CustomLineItemVersionListElement withBillingGroupArn(String billingGroupArn)
The Amazon Resource Name (ARN) of the billing group that the custom line item applies to.
billingGroupArn
- The Amazon Resource Name (ARN) of the billing group that the custom line item applies to.public void setCreationTime(Long creationTime)
The time when the custom line item version was created.
creationTime
- The time when the custom line item version was created.public Long getCreationTime()
The time when the custom line item version was created.
public CustomLineItemVersionListElement withCreationTime(Long creationTime)
The time when the custom line item version was created.
creationTime
- The time when the custom line item version was created.public void setLastModifiedTime(Long lastModifiedTime)
The most recent time that the custom line item version was modified.
lastModifiedTime
- The most recent time that the custom line item version was modified.public Long getLastModifiedTime()
The most recent time that the custom line item version was modified.
public CustomLineItemVersionListElement withLastModifiedTime(Long lastModifiedTime)
The most recent time that the custom line item version was modified.
lastModifiedTime
- The most recent time that the custom line item version was modified.public void setAssociationSize(Long associationSize)
The number of resources that are associated with the custom line item.
associationSize
- The number of resources that are associated with the custom line item.public Long getAssociationSize()
The number of resources that are associated with the custom line item.
public CustomLineItemVersionListElement withAssociationSize(Long associationSize)
The number of resources that are associated with the custom line item.
associationSize
- The number of resources that are associated with the custom line item.public void setStartBillingPeriod(String startBillingPeriod)
The start billing period of the custom line item version.
startBillingPeriod
- The start billing period of the custom line item version.public String getStartBillingPeriod()
The start billing period of the custom line item version.
public CustomLineItemVersionListElement withStartBillingPeriod(String startBillingPeriod)
The start billing period of the custom line item version.
startBillingPeriod
- The start billing period of the custom line item version.public void setEndBillingPeriod(String endBillingPeriod)
The end billing period of the custom line item version.
endBillingPeriod
- The end billing period of the custom line item version.public String getEndBillingPeriod()
The end billing period of the custom line item version.
public CustomLineItemVersionListElement withEndBillingPeriod(String endBillingPeriod)
The end billing period of the custom line item version.
endBillingPeriod
- The end billing period of the custom line item version.public void setArn(String arn)
A list of custom line item Amazon Resource Names (ARNs) to retrieve information.
arn
- A list of custom line item Amazon Resource Names (ARNs) to retrieve information.public String getArn()
A list of custom line item Amazon Resource Names (ARNs) to retrieve information.
public CustomLineItemVersionListElement withArn(String arn)
A list of custom line item Amazon Resource Names (ARNs) to retrieve information.
arn
- A list of custom line item Amazon Resource Names (ARNs) to retrieve information.public void setStartTime(Long startTime)
The inclusive start time.
startTime
- The inclusive start time.public Long getStartTime()
The inclusive start time.
public CustomLineItemVersionListElement withStartTime(Long startTime)
The inclusive start time.
startTime
- The inclusive start time.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 CustomLineItemVersionListElement 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 CustomLineItemVersionListElement clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.