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 String
account
protected String
accountId
protected boolean
bootable
protected String
checksum
protected Date
created
protected boolean
crossZones
protected String
displayText
protected String
domain
protected String
domainId
protected boolean
extractable
protected boolean
featured
protected Template.Format
format
protected String
hostId
protected String
hostName
protected String
hypervisor
protected String
id
protected boolean
isPublic
protected String
jobId
protected String
jobStatus
protected String
name
protected String
OSType
protected String
OSTypeId
protected boolean
passwordEnabled
protected boolean
ready
protected Date
removed
protected Long
size
protected String
sourceTemplateId
protected Template.Status
status
protected Set<Tag>
tags
protected String
templateTag
protected Template.Type
type
protected String
zone
protected String
zoneId
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description T
account(String account)
T
accountId(String accountId)
T
bootable(boolean bootable)
Template
build()
T
checksum(String checksum)
T
created(Date created)
T
crossZones(boolean crossZones)
T
displayText(String displayText)
T
domain(String domain)
T
domainId(String domainId)
T
extractable(boolean extractable)
T
featured(boolean featured)
T
format(Template.Format format)
T
fromTemplate(Template in)
T
hostId(String hostId)
T
hostName(String hostName)
T
hypervisor(String hypervisor)
T
id(String id)
T
isPublic(boolean isPublic)
T
jobId(String jobId)
T
jobStatus(String jobStatus)
T
name(String name)
T
OSType(String OSType)
T
OSTypeId(String OSTypeId)
T
passwordEnabled(boolean passwordEnabled)
T
ready(boolean ready)
T
removed(Date removed)
protected abstract T
self()
T
size(Long size)
T
sourceTemplateId(String sourceTemplateId)
T
status(Template.Status status)
T
tags(Set<Tag> tags)
T
tags(Tag... in)
T
templateTag(String templateTag)
T
type(Template.Type type)
T
zone(String zone)
T
zoneId(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()
-
-