org.jclouds.cloudstack.domain
Class TemplateMetadata.Builder

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

public static class TemplateMetadata.Builder
extends Object


Constructor Summary
TemplateMetadata.Builder()
           
 
Method Summary
 TemplateMetadata build()
           
 TemplateMetadata.Builder displayText(String displayText)
           
 TemplateMetadata.Builder name(String name)
           
 TemplateMetadata.Builder osTypeId(long osTypeId)
           
 TemplateMetadata.Builder passwordEnabled()
          the template supports the password reset feature.
 TemplateMetadata.Builder snapshotId(Long snapshotId)
           
 TemplateMetadata.Builder virtualMachineId(Long virtualMachineId)
           
 TemplateMetadata.Builder volumeId(Long volumeId)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TemplateMetadata.Builder

public TemplateMetadata.Builder()
Method Detail

name

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

osTypeId

public TemplateMetadata.Builder osTypeId(long osTypeId)
Parameters:
osTypeId - the ID of the OS Type that best represents the OS of this template.

displayText

public TemplateMetadata.Builder displayText(String displayText)
Parameters:
displayText - the display text of the template. This is usually used for display purposes.

snapshotId

public TemplateMetadata.Builder snapshotId(Long snapshotId)
Parameters:
snapshotId - the ID of the snapshot the template is being created from. Either this parameter, or volumeId has to be passed in

volumeId

public TemplateMetadata.Builder volumeId(Long volumeId)
Parameters:
volumeId - the ID of the disk volume the template is being created from. Either this parameter, or snapshotId has to be passed in

virtualMachineId

public TemplateMetadata.Builder virtualMachineId(Long virtualMachineId)
Parameters:
virtualMachineId - the ID of the disk volume the template is being created from

passwordEnabled

public TemplateMetadata.Builder passwordEnabled()
the template supports the password reset feature.


build

public TemplateMetadata build()


Copyright © 2009-2012 jclouds. All Rights Reserved.