public static class DiskSection.Builder extends Section.Builder<DiskSection>
Modifier and Type | Field and Description |
---|---|
protected Set<Disk> |
disks |
info
Constructor and Description |
---|
DiskSection.Builder() |
Modifier and Type | Method and Description |
---|---|
DiskSection |
build() |
DiskSection.Builder |
disk(Disk disk) |
DiskSection.Builder |
disks(Iterable<Disk> disks) |
DiskSection.Builder |
fromDiskSection(DiskSection in) |
DiskSection.Builder |
fromSection(Section<DiskSection> in) |
DiskSection.Builder |
info(String info) |
public DiskSection.Builder disk(Disk disk)
DiskSection.getDisks()
public DiskSection.Builder disks(Iterable<Disk> disks)
DiskSection.getDisks()
public DiskSection build()
build
in class Section.Builder<DiskSection>
public DiskSection.Builder fromDiskSection(DiskSection in)
public DiskSection.Builder fromSection(Section<DiskSection> in)
fromSection
in class Section.Builder<DiskSection>
public DiskSection.Builder info(String info)
info
in class Section.Builder<DiskSection>
Section.getInfo()
Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.