public class UsageRecord extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
UsageRecord.Builder<T extends UsageRecord.Builder<T>> |
static class |
UsageRecord.UsageType |
| Modifier | Constructor and Description |
|---|---|
protected |
UsageRecord(String id,
String description,
String accountId,
String accountName,
String domainId,
Date startDate,
Date endDate,
Date assignDate,
String releaseDate,
String zoneId,
String virtualMachineId,
String virtualMachineName,
String serviceOfferingId,
String templateId,
String ipAddress,
boolean isSourceNAT,
double rawUsageHours,
String usage,
Long size,
String type,
UsageRecord.UsageType usageType,
String project,
String projectId) |
| Modifier and Type | Method and Description |
|---|---|
static UsageRecord.Builder<?> |
builder() |
boolean |
equals(Object obj) |
String |
getAccountId() |
String |
getAccountName() |
Date |
getAssignDate() |
String |
getDescription() |
String |
getDomainId() |
Date |
getEndDate() |
String |
getId() |
String |
getIpAddress() |
String |
getProject() |
String |
getProjectId() |
double |
getRawUsageHours() |
String |
getReleaseDate() |
String |
getServiceOfferingId() |
Long |
getSize() |
Date |
getStartDate() |
String |
getTemplateId() |
String |
getType() |
String |
getUsage() |
UsageRecord.UsageType |
getUsageType() |
String |
getVirtualMachineId() |
String |
getVirtualMachineName() |
String |
getZoneId() |
int |
hashCode() |
boolean |
isSourceNAT() |
protected com.google.common.base.Objects.ToStringHelper |
string() |
UsageRecord.Builder<?> |
toBuilder() |
String |
toString() |
@ConstructorProperties(value={"usageid","description","accountid","account","domainid","startdate","enddate","assigndate","releasedate","zoneid","virtualmachineid","name","offeringid","templateid","ipaddress","issourcenat","rawusage","usage","size","type","usagetype","project","projectid"}) protected UsageRecord(String id, @Nullable String description, @Nullable String accountId, @Nullable String accountName, @Nullable String domainId, @Nullable Date startDate, @Nullable Date endDate, @Nullable Date assignDate, @Nullable String releaseDate, @Nullable String zoneId, @Nullable String virtualMachineId, @Nullable String virtualMachineName, @Nullable String serviceOfferingId, @Nullable String templateId, @Nullable String ipAddress, boolean isSourceNAT, double rawUsageHours, @Nullable String usage, @Nullable Long size, @Nullable String type, @Nullable UsageRecord.UsageType usageType, @Nullable String project, @Nullable String projectId)
public static UsageRecord.Builder<?> builder()
public UsageRecord.Builder<?> toBuilder()
public String getId()
@Nullable public String getDescription()
@Nullable public String getAccountId()
@Nullable public String getAccountName()
@Nullable public String getDomainId()
@Nullable public Date getStartDate()
@Nullable public Date getEndDate()
@Nullable public Date getAssignDate()
@Nullable public String getReleaseDate()
@Nullable public String getZoneId()
@Nullable public String getVirtualMachineId()
@Nullable public String getVirtualMachineName()
@Nullable public String getServiceOfferingId()
@Nullable public String getTemplateId()
@Nullable public String getIpAddress()
public boolean isSourceNAT()
public double getRawUsageHours()
@Nullable public String getUsage()
public Long getSize()
@Nullable public String getType()
@Nullable public UsageRecord.UsageType getUsageType()
@Nullable public String getProject()
@Nullable public String getProjectId()
protected com.google.common.base.Objects.ToStringHelper string()
Copyright © 2009-2017 The Apache Software Foundation. All Rights Reserved.