Package org.jclouds.ovf
Class DiskSection
- java.lang.Object
-
- org.jclouds.ovf.Section<DiskSection>
-
- 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.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DiskSection.Builder
-
Constructor Summary
Constructors Constructor Description DiskSection(String info, Iterable<Disk> disks)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DiskSection.Builder
builder()
boolean
equals(Object obj)
Set<Disk>
getDisks()
All disks referred to from Connection elements in allVirtualHardwareSection
elements shall be defined in the DiskSection.int
hashCode()
DiskSection.Builder
toBuilder()
String
toString()
-
-
-
Method Detail
-
builder
public static DiskSection.Builder builder()
-
toBuilder
public DiskSection.Builder toBuilder()
- Overrides:
toBuilder
in classSection<DiskSection>
-
getDisks
public Set<Disk> getDisks()
All disks referred to from Connection elements in allVirtualHardwareSection
elements shall be defined in the DiskSection.- Returns:
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classSection<DiskSection>
-
equals
public boolean equals(Object obj)
- Overrides:
equals
in classSection<DiskSection>
-
toString
public String toString()
- Overrides:
toString
in classSection<DiskSection>
-
-