@Generated(value="software.amazon.awssdk:codegen") public final class BillingRecord extends Object implements SdkPojo, Serializable, ToCopyableBuilder<BillingRecord.Builder,BillingRecord>
Information for one billing record.
Modifier and Type | Class and Description |
---|---|
static interface |
BillingRecord.Builder |
Modifier and Type | Method and Description |
---|---|
Instant |
billDate()
The date that the operation was billed, in Unix format.
|
static BillingRecord.Builder |
builder() |
String |
domainName()
The name of the domain that the billing record applies to.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
invoiceId()
The ID of the invoice that is associated with the billing record.
|
OperationType |
operation()
The operation that you were charged for.
|
String |
operationAsString()
The operation that you were charged for.
|
Double |
price()
The price that you were charged for the operation, in US dollars.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends BillingRecord.Builder> |
serializableBuilderClass() |
BillingRecord.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public 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 Guidezzz.
public OperationType operation()
The operation that you were charged for.
If the service returns an enum value that is not available in the current SDK version, operation
will
return OperationType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
operationAsString()
.
OperationType
public String operationAsString()
The operation that you were charged for.
If the service returns an enum value that is not available in the current SDK version, operation
will
return OperationType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
operationAsString()
.
OperationType
public String invoiceId()
The ID of the invoice that is associated with the billing record.
public Instant billDate()
The date that the operation was billed, in Unix format.
public Double price()
The price that you were charged for the operation, in US dollars.
Example value: 12.0
Example value: 12.0
public BillingRecord.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<BillingRecord.Builder,BillingRecord>
public static BillingRecord.Builder builder()
public static Class<? extends BillingRecord.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.