org.jclouds.cloudstack.domain
Class ISO.Builder

java.lang.Object
  extended by org.jclouds.cloudstack.domain.ISO.Builder
Enclosing class:
ISO

public static class ISO.Builder
extends Object


Constructor Summary
ISO.Builder()
           
 
Method Summary
 ISO.Builder account(String account)
           
 ISO.Builder accountId(long accountId)
           
 ISO.Builder bootable(boolean bootable)
           
 ISO.Builder checksum(String checksum)
           
 ISO.Builder created(Date created)
           
 ISO.Builder crossZones(boolean crossZones)
           
 ISO.Builder displayText(String displayText)
           
 ISO.Builder domain(String domain)
           
 ISO.Builder domainid(long domainid)
           
 ISO.Builder format(String format)
           
 ISO.Builder hostId(long hostId)
           
 ISO.Builder hostName(String hostName)
           
 ISO.Builder hypervisor(String hypervisor)
           
 ISO.Builder id(long id)
           
 ISO.Builder isExtractable(boolean isExtractable)
           
 ISO.Builder isFeatured(boolean isFeatured)
           
 ISO.Builder isPublic(boolean isPublic)
           
 ISO.Builder isReady(boolean isReady)
           
 ISO.Builder jobId(long jobId)
           
 ISO.Builder jobStatus(String jobStatus)
           
 ISO.Builder name(String name)
           
 ISO.Builder osTypeId(long osTypeId)
           
 ISO.Builder osTypeName(String osTypeName)
           
 ISO.Builder passwordEnabled(boolean passwordEnabled)
           
 ISO.Builder removed(Date removed)
           
 ISO.Builder size(long size)
           
 ISO.Builder sourceTemplateId(long sourceTemplateId)
           
 ISO.Builder status(String status)
           
 ISO.Builder templateTag(String templateTag)
           
 ISO.Builder templateType(String templateType)
           
 ISO.Builder zoneId(long zoneId)
           
 ISO.Builder zoneName(String zoneName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ISO.Builder

public ISO.Builder()
Method Detail

id

public ISO.Builder id(long id)
Parameters:
id - the template ID

account

public ISO.Builder account(String account)
Parameters:
account - the account name to which the template belongs

accountId

public ISO.Builder accountId(long accountId)
Parameters:
accountId - the account id to which the template belongs

bootable

public ISO.Builder bootable(boolean bootable)
Parameters:
bootable - true if the ISO is bootable, false otherwise

checksum

public ISO.Builder checksum(String checksum)
Parameters:
checksum - checksum of the template

created

public ISO.Builder created(Date created)
Parameters:
created - the date this template was created

crossZones

public ISO.Builder crossZones(boolean crossZones)
Parameters:
crossZones - true if the template is managed across all Zones, false otherwise

displayText

public ISO.Builder displayText(String displayText)
Parameters:
displayText - the template display text

domain

public ISO.Builder domain(String domain)
Parameters:
domain - the name of the domain to which the template belongs

domainid

public ISO.Builder domainid(long domainid)
Parameters:
domainid - the ID of the domain to which the template belongs

format

public ISO.Builder format(String format)
Parameters:
format - the format of the template.

hostId

public ISO.Builder hostId(long hostId)
Parameters:
hostId - the ID of the secondary storage host for the template

hostName

public ISO.Builder hostName(String hostName)
Parameters:
hostName - the name of the secondary storage host for the template

hypervisor

public ISO.Builder hypervisor(String hypervisor)
Parameters:
hypervisor - the hypervisor on which the template runs

isExtractable

public ISO.Builder isExtractable(boolean isExtractable)
Parameters:
isExtractable - true if the template is extractable, false otherwise

isFeatured

public ISO.Builder isFeatured(boolean isFeatured)
Parameters:
isFeatured - true if this template is a featured template, false otherwise

isPublic

public ISO.Builder isPublic(boolean isPublic)
Parameters:
isPublic - true if this template is a public template, false otherwise

isReady

public ISO.Builder isReady(boolean isReady)
Parameters:
isReady - true if the template is ready to be deployed from, false otherwise.

jobId

public ISO.Builder jobId(long jobId)
Parameters:
jobId - shows the current pending asynchronous job ID. This tag is not returned if no current pending jobs are acting on the template

jobStatus

public ISO.Builder jobStatus(String jobStatus)
Parameters:
jobStatus - shows the current pending asynchronous job status

name

public ISO.Builder name(String name)
Parameters:
name - the template name

osTypeId

public ISO.Builder osTypeId(long osTypeId)
Parameters:
osTypeId - the ID of the OS type for this template.

osTypeName

public ISO.Builder osTypeName(String osTypeName)
Parameters:
osTypeName - the name of the OS type for this template.

passwordEnabled

public ISO.Builder passwordEnabled(boolean passwordEnabled)
Parameters:
passwordEnabled - true if the reset password feature is enabled, false otherwise

removed

public ISO.Builder removed(Date removed)
Parameters:
removed - the date this template was removed

size

public ISO.Builder size(long size)
Parameters:
size - the size of the template

sourceTemplateId

public ISO.Builder sourceTemplateId(long sourceTemplateId)
Parameters:
sourceTemplateId - the template ID of the parent template if present

status

public ISO.Builder status(String status)
Parameters:
status - the status of the template

templateTag

public ISO.Builder templateTag(String templateTag)
Parameters:
templateTag - the tag of this template

templateType

public ISO.Builder templateType(String templateType)
Parameters:
templateType - the type of the template

zoneId

public ISO.Builder zoneId(long zoneId)
Parameters:
zoneId - the ID of the zone for this template

zoneName

public ISO.Builder zoneName(String zoneName)
Parameters:
zoneName - the name of the zone for this template


Copyright © 2009-2012 jclouds. All Rights Reserved.