public class UsageRecord extends Object implements Comparable<UsageRecord>
Modifier and Type | Class and Description |
---|---|
static class |
UsageRecord.Builder |
static class |
UsageRecord.UsageType |
Constructor and Description |
---|
UsageRecord(long id,
String description,
long accountId,
String accountName,
long domainId,
Date startDate,
Date endDate,
Date assignDate,
long releaseDate,
long zoneId,
long virtualMachineId,
String virtualMachineName,
long serviceOfferingId,
long templateId,
String ipAddress,
boolean sourceNAT,
double rawUsageHours,
String usage,
String type,
UsageRecord.UsageType usageType) |
Modifier and Type | Method and Description |
---|---|
static UsageRecord.Builder |
builder() |
int |
compareTo(UsageRecord other) |
boolean |
equals(Object o) |
long |
getAccountId() |
String |
getAccountName() |
Date |
getAssignDate() |
String |
getDescription() |
long |
getDomainId() |
Date |
getEndDate() |
long |
getId() |
String |
getIpAddress() |
double |
getRawUsageHours() |
long |
getReleaseDate() |
long |
getServiceOfferingId() |
Date |
getStartDate() |
long |
getTemplateId() |
String |
getType() |
String |
getUsage() |
UsageRecord.UsageType |
getUsageType() |
long |
getVirtualMachineId() |
String |
getVirtualMachineName() |
long |
getZoneId() |
int |
hashCode() |
boolean |
isSourceNAT() |
String |
toString() |
public UsageRecord(long id, String description, long accountId, String accountName, long domainId, Date startDate, Date endDate, Date assignDate, long releaseDate, long zoneId, long virtualMachineId, String virtualMachineName, long serviceOfferingId, long templateId, String ipAddress, boolean sourceNAT, double rawUsageHours, String usage, String type, UsageRecord.UsageType usageType)
public static UsageRecord.Builder builder()
public long getId()
public String getDescription()
public long getAccountId()
public String getAccountName()
public long getDomainId()
public Date getStartDate()
public Date getEndDate()
public Date getAssignDate()
public long getReleaseDate()
public long getZoneId()
public long getVirtualMachineId()
public String getVirtualMachineName()
public long getServiceOfferingId()
public long getTemplateId()
public String getIpAddress()
public boolean isSourceNAT()
public double getRawUsageHours()
public String getUsage()
public String getType()
public UsageRecord.UsageType getUsageType()
public int compareTo(UsageRecord other)
compareTo
in interface Comparable<UsageRecord>
Copyright © 2009-2012 jclouds. All Rights Reserved.