org.jclouds.ovf
Class DiskSection

java.lang.Object
  extended by org.jclouds.ovf.Section<DiskSection>
      extended by org.jclouds.ovf.DiskSection

public class DiskSection
extends Section<DiskSection>

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

Nested Class Summary
static class DiskSection.Builder
           
 
Field Summary
 
Fields inherited from class org.jclouds.ovf.Section
info
 
Constructor Summary
DiskSection(String info, Iterable<Disk> disks)
           
 
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()
           
 DiskSection.Builder toBuilder()
          
 String toString()
           
 
Methods inherited from class org.jclouds.ovf.Section
getInfo
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DiskSection

public DiskSection(String info,
                   Iterable<Disk> disks)
Method Detail

builder

public static DiskSection.Builder builder()

toBuilder

public DiskSection.Builder toBuilder()

Overrides:
toBuilder in class Section<DiskSection>

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 Section<DiskSection>

equals

public boolean equals(Object obj)
Overrides:
equals in class Section<DiskSection>

toString

public String toString()
Overrides:
toString in class Section<DiskSection>


Copyright © 2009-2011 jclouds. All Rights Reserved.