Package org.jclouds.cloudstack.domain
Class Template.Builder<T extends Template.Builder<T>>
- java.lang.Object
-
- org.jclouds.cloudstack.domain.Template.Builder<T>
-
-
Field Summary
Fields Modifier and Type Field Description protected Stringaccountprotected StringaccountIdprotected booleanbootableprotected Stringchecksumprotected Datecreatedprotected booleancrossZonesprotected StringdisplayTextprotected Stringdomainprotected StringdomainIdprotected booleanextractableprotected booleanfeaturedprotected Template.Formatformatprotected StringhostIdprotected StringhostNameprotected Stringhypervisorprotected Stringidprotected booleanisPublicprotected StringjobIdprotected StringjobStatusprotected Stringnameprotected StringOSTypeprotected StringOSTypeIdprotected booleanpasswordEnabledprotected booleanreadyprotected Dateremovedprotected Longsizeprotected StringsourceTemplateIdprotected Template.Statusstatusprotected Set<Tag>tagsprotected StringtemplateTagprotected Template.Typetypeprotected Stringzoneprotected StringzoneId
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description Taccount(String account)TaccountId(String accountId)Tbootable(boolean bootable)Templatebuild()Tchecksum(String checksum)Tcreated(Date created)TcrossZones(boolean crossZones)TdisplayText(String displayText)Tdomain(String domain)TdomainId(String domainId)Textractable(boolean extractable)Tfeatured(boolean featured)Tformat(Template.Format format)TfromTemplate(Template in)ThostId(String hostId)ThostName(String hostName)Thypervisor(String hypervisor)Tid(String id)TisPublic(boolean isPublic)TjobId(String jobId)TjobStatus(String jobStatus)Tname(String name)TOSType(String OSType)TOSTypeId(String OSTypeId)TpasswordEnabled(boolean passwordEnabled)Tready(boolean ready)Tremoved(Date removed)protected abstract Tself()Tsize(Long size)TsourceTemplateId(String sourceTemplateId)Tstatus(Template.Status status)Ttags(Set<Tag> tags)Ttags(Tag... in)TtemplateTag(String templateTag)Ttype(Template.Type type)Tzone(String zone)TzoneId(String zoneId)
-
-
-
Field Detail
-
id
protected String id
-
displayText
protected String displayText
-
domain
protected String domain
-
domainId
protected String domainId
-
account
protected String account
-
accountId
protected String accountId
-
zone
protected String zone
-
zoneId
protected String zoneId
-
OSType
protected String OSType
-
OSTypeId
protected String OSTypeId
-
name
protected String name
-
type
protected Template.Type type
-
status
protected Template.Status status
-
format
protected Template.Format format
-
hypervisor
protected String hypervisor
-
size
protected Long size
-
created
protected Date created
-
removed
protected Date removed
-
crossZones
protected boolean crossZones
-
bootable
protected boolean bootable
-
extractable
protected boolean extractable
-
featured
protected boolean featured
-
isPublic
protected boolean isPublic
-
ready
protected boolean ready
-
passwordEnabled
protected boolean passwordEnabled
-
jobId
protected String jobId
-
jobStatus
protected String jobStatus
-
checksum
protected String checksum
-
hostId
protected String hostId
-
hostName
protected String hostName
-
sourceTemplateId
protected String sourceTemplateId
-
templateTag
protected String templateTag
-
-
Method Detail
-
self
protected abstract T self()
-
id
public T id(String id)
- See Also:
Template.getId()
-
displayText
public T displayText(String displayText)
- See Also:
Template.getDisplayText()
-
domain
public T domain(String domain)
- See Also:
Template.getDomain()
-
domainId
public T domainId(String domainId)
- See Also:
Template.getDomainId()
-
account
public T account(String account)
- See Also:
Template.getAccount()
-
accountId
public T accountId(String accountId)
- See Also:
Template.getAccountId()
-
zone
public T zone(String zone)
- See Also:
Template.getZone()
-
zoneId
public T zoneId(String zoneId)
- See Also:
Template.getZoneId()
-
OSType
public T OSType(String OSType)
- See Also:
Template.getOSType()
-
OSTypeId
public T OSTypeId(String OSTypeId)
- See Also:
Template.getOSTypeId()
-
name
public T name(String name)
- See Also:
Template.getName()
-
type
public T type(Template.Type type)
- See Also:
Template.getType()
-
status
public T status(Template.Status status)
- See Also:
Template.getStatus()
-
format
public T format(Template.Format format)
- See Also:
Template.getFormat()
-
hypervisor
public T hypervisor(String hypervisor)
- See Also:
Template.getHypervisor()
-
size
public T size(Long size)
- See Also:
Template.getSize()
-
created
public T created(Date created)
- See Also:
Template.getCreated()
-
removed
public T removed(Date removed)
- See Also:
Template.getRemoved()
-
crossZones
public T crossZones(boolean crossZones)
- See Also:
Template.isCrossZones()
-
bootable
public T bootable(boolean bootable)
- See Also:
Template.isBootable()
-
extractable
public T extractable(boolean extractable)
- See Also:
Template.isExtractable()
-
featured
public T featured(boolean featured)
- See Also:
Template.isFeatured()
-
isPublic
public T isPublic(boolean isPublic)
- See Also:
Template.ispublic()
-
ready
public T ready(boolean ready)
- See Also:
Template.isReady()
-
passwordEnabled
public T passwordEnabled(boolean passwordEnabled)
- See Also:
Template.isPasswordEnabled()
-
jobId
public T jobId(String jobId)
- See Also:
Template.getJobId()
-
jobStatus
public T jobStatus(String jobStatus)
- See Also:
Template.getJobStatus()
-
checksum
public T checksum(String checksum)
- See Also:
Template.getChecksum()
-
hostId
public T hostId(String hostId)
- See Also:
Template.getHostId()
-
hostName
public T hostName(String hostName)
- See Also:
Template.getHostName()
-
sourceTemplateId
public T sourceTemplateId(String sourceTemplateId)
- See Also:
Template.getSourceTemplateId()
-
templateTag
public T templateTag(String templateTag)
- See Also:
Template.getTemplateTag()
-
tags
public T tags(Set<Tag> tags)
- See Also:
Template.getTags()
-
build
public Template build()
-
-