org.jclouds.savvis.vpdc.domain
Class VM.Builder

java.lang.Object
  extended by org.jclouds.ovf.Section.Builder<T>
      extended by org.jclouds.ovf.internal.BaseVirtualSystem.Builder<VM>
          extended by org.jclouds.savvis.vpdc.domain.VM.Builder
Enclosing class:
VM

public static class VM.Builder
extends BaseVirtualSystem.Builder<VM>


Field Summary
protected  URI href
           
protected  Set<NetworkConfigSection> networkConfigSections
           
protected  Set<NetworkConnectionSection> networkConnectionSections
           
protected  NetworkSection networkSection
           
protected  VM.Status status
           
protected  String type
           
 
Fields inherited from class org.jclouds.ovf.internal.BaseVirtualSystem.Builder
additionalSections, id, name, operatingSystem, productSections, virtualHardwareSections
 
Fields inherited from class org.jclouds.ovf.Section.Builder
info
 
Constructor Summary
VM.Builder()
           
 
Method Summary
 VM.Builder additionalSection(String name, Section additionalSection)
          
 VM.Builder additionalSections(com.google.common.collect.Multimap<String,Section> additionalSections)
          
 VM build()
          
 VM.Builder fromSection(Section<VM> in)
          
 VM.Builder fromVirtualSystem(BaseVirtualSystem<VM> in)
          
 VM.Builder fromVM(VM in)
           
 VM.Builder href(URI href)
           
 VM.Builder id(String id)
           
 VM.Builder info(String info)
          
 VM.Builder name(String name)
           
 VM.Builder networkConfigSection(NetworkConfigSection networkConfigSection)
           
 VM.Builder networkConfigSections(Iterable<NetworkConfigSection> networkConfigSections)
           
 VM.Builder networkConnectionSection(NetworkConnectionSection networkConnectionSection)
           
 VM.Builder networkConnectionSections(Iterable<NetworkConnectionSection> networkConnectionSections)
           
 VM.Builder networkSection(NetworkSection networkSection)
           
 VM.Builder operatingSystemSection(OperatingSystemSection operatingSystem)
          
 VM.Builder productSection(ProductSection productSection)
          
 VM.Builder productSections(Iterable<? extends ProductSection> productSections)
          
 VM.Builder status(VM.Status status)
           
 VM.Builder type(String type)
           
 VM.Builder virtualHardwareSection(VirtualHardwareSection virtualHardwareSection)
          
 VM.Builder virtualHardwareSections(Iterable<? extends VirtualHardwareSection> virtualHardwareSections)
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

type

protected String type

href

protected URI href

status

protected VM.Status status

networkSection

protected NetworkSection networkSection

networkConfigSections

protected Set<NetworkConfigSection> networkConfigSections

networkConnectionSections

protected Set<NetworkConnectionSection> networkConnectionSections
Constructor Detail

VM.Builder

public VM.Builder()
Method Detail

id

public VM.Builder id(String id)
Overrides:
id in class BaseVirtualSystem.Builder<VM>
See Also:
BaseVirtualSystem.getId()

name

public VM.Builder name(String name)
Overrides:
name in class BaseVirtualSystem.Builder<VM>
See Also:
BaseVirtualSystem.getName()

type

public VM.Builder type(String type)

href

public VM.Builder href(URI href)

status

public VM.Builder status(VM.Status status)

networkSection

public VM.Builder networkSection(NetworkSection networkSection)

networkConfigSection

public VM.Builder networkConfigSection(NetworkConfigSection networkConfigSection)
See Also:
VM.getNetworkConfigSections()

networkConfigSections

public VM.Builder networkConfigSections(Iterable<NetworkConfigSection> networkConfigSections)
See Also:
VM.getNetworkConfigSections()

networkConnectionSection

public VM.Builder networkConnectionSection(NetworkConnectionSection networkConnectionSection)
See Also:
VM.getNetworkConnectionSections()

networkConnectionSections

public VM.Builder networkConnectionSections(Iterable<NetworkConnectionSection> networkConnectionSections)
See Also:
VM.getNetworkConnectionSections()

build

public VM build()
Description copied from class: BaseVirtualSystem.Builder

Overrides:
build in class BaseVirtualSystem.Builder<VM>

fromVM

public VM.Builder fromVM(VM in)

additionalSection

public VM.Builder additionalSection(String name,
                                    Section additionalSection)

Overrides:
additionalSection in class BaseVirtualSystem.Builder<VM>
See Also:
BaseVirtualSystem.getAdditionalSections()

additionalSections

public VM.Builder additionalSections(com.google.common.collect.Multimap<String,Section> additionalSections)

Overrides:
additionalSections in class BaseVirtualSystem.Builder<VM>
See Also:
BaseVirtualSystem.getAdditionalSections()

fromSection

public VM.Builder fromSection(Section<VM> in)

Overrides:
fromSection in class BaseVirtualSystem.Builder<VM>

fromVirtualSystem

public VM.Builder fromVirtualSystem(BaseVirtualSystem<VM> in)

Overrides:
fromVirtualSystem in class BaseVirtualSystem.Builder<VM>

virtualHardwareSection

public VM.Builder virtualHardwareSection(VirtualHardwareSection virtualHardwareSection)

Overrides:
virtualHardwareSection in class BaseVirtualSystem.Builder<VM>
See Also:
BaseVirtualSystem.getVirtualHardwareSections()

virtualHardwareSections

public VM.Builder virtualHardwareSections(Iterable<? extends VirtualHardwareSection> virtualHardwareSections)

Overrides:
virtualHardwareSections in class BaseVirtualSystem.Builder<VM>
See Also:
BaseVirtualSystem.getVirtualHardwareSections()

info

public VM.Builder info(String info)

Overrides:
info in class BaseVirtualSystem.Builder<VM>
See Also:
Section.getInfo()

operatingSystemSection

public VM.Builder operatingSystemSection(OperatingSystemSection operatingSystem)

Overrides:
operatingSystemSection in class BaseVirtualSystem.Builder<VM>
See Also:
BaseVirtualSystem.getOperatingSystemSection()

productSection

public VM.Builder productSection(ProductSection productSection)

Overrides:
productSection in class BaseVirtualSystem.Builder<VM>
See Also:
BaseVirtualSystem.getProductSections()

productSections

public VM.Builder productSections(Iterable<? extends ProductSection> productSections)

Overrides:
productSections in class BaseVirtualSystem.Builder<VM>
See Also:
BaseVirtualSystem.getProductSections()


Copyright © 2009-2011 jclouds. All Rights Reserved.