org.jclouds.cloudstack.domain
Class UsageRecord.Builder<T extends UsageRecord.Builder<T>>
java.lang.Object
org.jclouds.cloudstack.domain.UsageRecord.Builder<T>
- Enclosing class:
- UsageRecord
public abstract static class UsageRecord.Builder<T extends UsageRecord.Builder<T>>
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
id
protected String id
description
protected String description
accountId
protected String accountId
accountName
protected String accountName
domainId
protected String domainId
startDate
protected Date startDate
endDate
protected Date endDate
assignDate
protected Date assignDate
releaseDate
protected String releaseDate
zoneId
protected String zoneId
virtualMachineId
protected String virtualMachineId
virtualMachineName
protected String virtualMachineName
serviceOfferingId
protected String serviceOfferingId
templateId
protected String templateId
ipAddress
protected String ipAddress
isSourceNAT
protected boolean isSourceNAT
rawUsageHours
protected double rawUsageHours
usage
protected String usage
type
protected String type
usageType
protected UsageRecord.UsageType usageType
UsageRecord.Builder
public UsageRecord.Builder()
self
protected abstract T self()
id
public T id(String id)
- See Also:
UsageRecord.getId()
description
public T description(String description)
- See Also:
UsageRecord.getDescription()
accountId
public T accountId(String accountId)
- See Also:
UsageRecord.getAccountId()
accountName
public T accountName(String accountName)
- See Also:
UsageRecord.getAccountName()
domainId
public T domainId(String domainId)
- See Also:
UsageRecord.getDomainId()
startDate
public T startDate(Date startDate)
- See Also:
UsageRecord.getStartDate()
endDate
public T endDate(Date endDate)
- See Also:
UsageRecord.getEndDate()
assignDate
public T assignDate(Date assignDate)
- See Also:
UsageRecord.getAssignDate()
releaseDate
public T releaseDate(String releaseDate)
- See Also:
UsageRecord.getReleaseDate()
zoneId
public T zoneId(String zoneId)
- See Also:
UsageRecord.getZoneId()
virtualMachineId
public T virtualMachineId(String virtualMachineId)
- See Also:
UsageRecord.getVirtualMachineId()
virtualMachineName
public T virtualMachineName(String virtualMachineName)
- See Also:
UsageRecord.getVirtualMachineName()
serviceOfferingId
public T serviceOfferingId(String serviceOfferingId)
- See Also:
UsageRecord.getServiceOfferingId()
templateId
public T templateId(String templateId)
- See Also:
UsageRecord.getTemplateId()
ipAddress
public T ipAddress(String ipAddress)
- See Also:
UsageRecord.getIpAddress()
isSourceNAT
public T isSourceNAT(boolean isSourceNAT)
- See Also:
UsageRecord.isSourceNAT()
rawUsageHours
public T rawUsageHours(double rawUsageHours)
- See Also:
UsageRecord.getRawUsageHours()
usage
public T usage(String usage)
- See Also:
UsageRecord.getUsage()
type
public T type(String type)
- See Also:
UsageRecord.getType()
usageType
public T usageType(UsageRecord.UsageType usageType)
- See Also:
UsageRecord.getUsageType()
build
public UsageRecord build()
fromUsageRecord
public T fromUsageRecord(UsageRecord in)
Copyright © 2009-2012 jclouds. All Rights Reserved.