@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BillingRecord extends Object implements Serializable, Cloneable, StructuredPojo
Information for one billing record.
Constructor and Description |
---|
BillingRecord() |
Modifier and Type | Method and Description |
---|---|
BillingRecord |
clone() |
boolean |
equals(Object obj) |
Date |
getBillDate()
The date that the operation was billed, in Unix format.
|
String |
getDomainName()
The name of the domain that the billing record applies to.
|
String |
getInvoiceId()
The ID of the invoice that is associated with the billing record.
|
String |
getOperation()
The operation that you were charged for.
|
Double |
getPrice()
The price that you were charged for the operation, in US dollars.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setBillDate(Date billDate)
The date that the operation was billed, in Unix format.
|
void |
setDomainName(String domainName)
The name of the domain that the billing record applies to.
|
void |
setInvoiceId(String invoiceId)
The ID of the invoice that is associated with the billing record.
|
void |
setOperation(OperationType operation)
The operation that you were charged for.
|
void |
setOperation(String operation)
The operation that you were charged for.
|
void |
setPrice(Double price)
The price that you were charged for the operation, in US dollars.
|
String |
toString()
Returns a string representation of this object.
|
BillingRecord |
withBillDate(Date billDate)
The date that the operation was billed, in Unix format.
|
BillingRecord |
withDomainName(String domainName)
The name of the domain that the billing record applies to.
|
BillingRecord |
withInvoiceId(String invoiceId)
The ID of the invoice that is associated with the billing record.
|
BillingRecord |
withOperation(OperationType operation)
The operation that you were charged for.
|
BillingRecord |
withOperation(String operation)
The operation that you were charged for.
|
BillingRecord |
withPrice(Double price)
The price that you were charged for the operation, in US dollars.
|
public void setDomainName(String domainName)
The name of the domain that the billing record applies to. If the domain name contains characters other than a-z, 0-9, and - (hyphen), such as an internationalized domain name, then this value is in Punycode. For more information, see DNS Domain Name Format in the Amazon Route 53 Developer Guide.
domainName
- The name of the domain that the billing record applies to. If the domain name contains characters other
than a-z, 0-9, and - (hyphen), such as an internationalized domain name, then this value is in Punycode.
For more information, see DNS Domain Name
Format in the Amazon Route 53 Developer Guide.public String getDomainName()
The name of the domain that the billing record applies to. If the domain name contains characters other than a-z, 0-9, and - (hyphen), such as an internationalized domain name, then this value is in Punycode. For more information, see DNS Domain Name Format in the Amazon Route 53 Developer Guide.
public BillingRecord withDomainName(String domainName)
The name of the domain that the billing record applies to. If the domain name contains characters other than a-z, 0-9, and - (hyphen), such as an internationalized domain name, then this value is in Punycode. For more information, see DNS Domain Name Format in the Amazon Route 53 Developer Guide.
domainName
- The name of the domain that the billing record applies to. If the domain name contains characters other
than a-z, 0-9, and - (hyphen), such as an internationalized domain name, then this value is in Punycode.
For more information, see DNS Domain Name
Format in the Amazon Route 53 Developer Guide.public void setOperation(String operation)
The operation that you were charged for.
operation
- The operation that you were charged for.OperationType
public String getOperation()
The operation that you were charged for.
OperationType
public BillingRecord withOperation(String operation)
The operation that you were charged for.
operation
- The operation that you were charged for.OperationType
public void setOperation(OperationType operation)
The operation that you were charged for.
operation
- The operation that you were charged for.OperationType
public BillingRecord withOperation(OperationType operation)
The operation that you were charged for.
operation
- The operation that you were charged for.OperationType
public void setInvoiceId(String invoiceId)
The ID of the invoice that is associated with the billing record.
invoiceId
- The ID of the invoice that is associated with the billing record.public String getInvoiceId()
The ID of the invoice that is associated with the billing record.
public BillingRecord withInvoiceId(String invoiceId)
The ID of the invoice that is associated with the billing record.
invoiceId
- The ID of the invoice that is associated with the billing record.public void setBillDate(Date billDate)
The date that the operation was billed, in Unix format.
billDate
- The date that the operation was billed, in Unix format.public Date getBillDate()
The date that the operation was billed, in Unix format.
public BillingRecord withBillDate(Date billDate)
The date that the operation was billed, in Unix format.
billDate
- The date that the operation was billed, in Unix format.public void setPrice(Double price)
The price that you were charged for the operation, in US dollars.
Example value: 12.0
price
- The price that you were charged for the operation, in US dollars.
Example value: 12.0
public Double getPrice()
The price that you were charged for the operation, in US dollars.
Example value: 12.0
Example value: 12.0
public BillingRecord withPrice(Double price)
The price that you were charged for the operation, in US dollars.
Example value: 12.0
price
- The price that you were charged for the operation, in US dollars.
Example value: 12.0
public String toString()
toString
in class Object
Object.toString()
public BillingRecord clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.