public abstract static class UsageRecord.Builder<T extends UsageRecord.Builder<T>> extends Object
Modifier and Type | Field and Description |
---|---|
protected String |
accountId |
protected String |
accountName |
protected Date |
assignDate |
protected String |
description |
protected String |
domainId |
protected Date |
endDate |
protected String |
id |
protected String |
ipAddress |
protected boolean |
isSourceNAT |
protected double |
rawUsageHours |
protected String |
releaseDate |
protected String |
serviceOfferingId |
protected Date |
startDate |
protected String |
templateId |
protected String |
type |
protected String |
usage |
protected UsageRecord.UsageType |
usageType |
protected String |
virtualMachineId |
protected String |
virtualMachineName |
protected String |
zoneId |
Constructor and Description |
---|
UsageRecord.Builder() |
Modifier and Type | Method and Description |
---|---|
T |
accountId(String accountId) |
T |
accountName(String accountName) |
T |
assignDate(Date assignDate) |
UsageRecord |
build() |
T |
description(String description) |
T |
domainId(String domainId) |
T |
endDate(Date endDate) |
T |
fromUsageRecord(UsageRecord in) |
T |
id(String id) |
T |
ipAddress(String ipAddress) |
T |
isSourceNAT(boolean isSourceNAT) |
T |
rawUsageHours(double rawUsageHours) |
T |
releaseDate(String releaseDate) |
protected abstract T |
self() |
T |
serviceOfferingId(String serviceOfferingId) |
T |
startDate(Date startDate) |
T |
templateId(String templateId) |
T |
type(String type) |
T |
usage(String usage) |
T |
usageType(UsageRecord.UsageType usageType) |
T |
virtualMachineId(String virtualMachineId) |
T |
virtualMachineName(String virtualMachineName) |
T |
zoneId(String zoneId) |
protected String id
protected String description
protected String accountId
protected String accountName
protected String domainId
protected Date startDate
protected Date endDate
protected Date assignDate
protected String releaseDate
protected String zoneId
protected String virtualMachineId
protected String virtualMachineName
protected String serviceOfferingId
protected String templateId
protected String ipAddress
protected boolean isSourceNAT
protected double rawUsageHours
protected String usage
protected String type
protected UsageRecord.UsageType usageType
protected abstract T self()
public T id(String id)
UsageRecord.getId()
public T description(String description)
UsageRecord.getDescription()
public T accountId(String accountId)
UsageRecord.getAccountId()
public T accountName(String accountName)
UsageRecord.getAccountName()
public T domainId(String domainId)
UsageRecord.getDomainId()
public T startDate(Date startDate)
UsageRecord.getStartDate()
public T endDate(Date endDate)
UsageRecord.getEndDate()
public T assignDate(Date assignDate)
UsageRecord.getAssignDate()
public T releaseDate(String releaseDate)
UsageRecord.getReleaseDate()
public T zoneId(String zoneId)
UsageRecord.getZoneId()
public T virtualMachineId(String virtualMachineId)
UsageRecord.getVirtualMachineId()
public T virtualMachineName(String virtualMachineName)
UsageRecord.getVirtualMachineName()
public T serviceOfferingId(String serviceOfferingId)
UsageRecord.getServiceOfferingId()
public T templateId(String templateId)
UsageRecord.getTemplateId()
public T ipAddress(String ipAddress)
UsageRecord.getIpAddress()
public T isSourceNAT(boolean isSourceNAT)
UsageRecord.isSourceNAT()
public T rawUsageHours(double rawUsageHours)
UsageRecord.getRawUsageHours()
public T usage(String usage)
UsageRecord.getUsage()
public T type(String type)
UsageRecord.getType()
public T usageType(UsageRecord.UsageType usageType)
UsageRecord.getUsageType()
public UsageRecord build()
public T fromUsageRecord(UsageRecord in)
Copyright © 2009-2013 jclouds. All Rights Reserved.