org.jclouds.dmtf.ovf
Class DiskSection

java.lang.Object
  extended by org.jclouds.dmtf.ovf.SectionType
      extended by org.jclouds.dmtf.ovf.DiskSection

public class DiskSection
extends SectionType

A DiskSection describes meta-information about virtual disks in the OVF package. Virtual disks and their metadata are described outside the virtual hardware to facilitate sharing between virtual machines within an OVF package.

Author:
Adrian Cole, Adam Lowe

Nested Class Summary
static class DiskSection.Builder<B extends DiskSection.Builder<B>>
           
 
Constructor Summary
protected DiskSection()
           
protected DiskSection(DiskSection.Builder<?> builder)
           
 
Method Summary
static DiskSection.Builder<?> builder()
           
 boolean equals(Object obj)
           
 Set<Disk> getDisks()
          All disks referred to from Connection elements in all VirtualHardwareSection elements shall be defined in the DiskSection.
 int hashCode()
           
protected  com.google.common.base.Objects.ToStringHelper string()
           
 DiskSection.Builder<?> toBuilder()
           
 
Methods inherited from class org.jclouds.dmtf.ovf.SectionType
getInfo, isRequired, setInfo, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DiskSection

protected DiskSection(DiskSection.Builder<?> builder)

DiskSection

protected DiskSection()
Method Detail

builder

public static DiskSection.Builder<?> builder()

toBuilder

public DiskSection.Builder<?> toBuilder()

getDisks

public Set<Disk> getDisks()
All disks referred to from Connection elements in all VirtualHardwareSection elements shall be defined in the DiskSection.

Returns:

hashCode

public int hashCode()
Overrides:
hashCode in class SectionType

equals

public boolean equals(Object obj)
Overrides:
equals in class SectionType

string

protected com.google.common.base.Objects.ToStringHelper string()
Overrides:
string in class SectionType


Copyright © 2009-2012 jclouds. All Rights Reserved.