public static class VirtualDiskImage.Builder extends Object
Modifier and Type | Field and Description |
---|---|
protected float |
capacity |
protected String |
description |
protected int |
id |
protected String |
name |
protected com.google.common.collect.ImmutableSet.Builder<VirtualDiskImageSoftware> |
softwareReferences |
protected int |
storageRepositoryId |
protected int |
typeId |
protected String |
units |
protected String |
uuid |
Constructor and Description |
---|
VirtualDiskImage.Builder() |
Modifier and Type | Method and Description |
---|---|
VirtualDiskImage |
build() |
VirtualDiskImage.Builder |
capacity(float capacity) |
VirtualDiskImage.Builder |
description(String description) |
VirtualDiskImage.Builder |
fromVirtualDiskImage(VirtualDiskImage in) |
VirtualDiskImage.Builder |
id(int id) |
VirtualDiskImage.Builder |
name(String name) |
VirtualDiskImage.Builder |
softwareReferences(Set<VirtualDiskImageSoftware> softwareReferences) |
VirtualDiskImage.Builder |
softwareReferences(VirtualDiskImageSoftware... in) |
VirtualDiskImage.Builder |
storageRepositoryId(int storageRepositoryId) |
VirtualDiskImage.Builder |
typeId(int typeId) |
VirtualDiskImage.Builder |
units(String units) |
VirtualDiskImage.Builder |
uuid(String uuid) |
protected int id
protected String uuid
protected float capacity
protected String units
protected int typeId
protected String description
protected String name
protected int storageRepositoryId
protected com.google.common.collect.ImmutableSet.Builder<VirtualDiskImageSoftware> softwareReferences
public VirtualDiskImage.Builder id(int id)
VirtualDiskImage.getId()
public VirtualDiskImage.Builder uuid(String uuid)
VirtualDiskImage.getUuid()
public VirtualDiskImage.Builder capacity(float capacity)
VirtualDiskImage.getCapacity()
public VirtualDiskImage.Builder units(String units)
VirtualDiskImage.getUnits()
public VirtualDiskImage.Builder typeId(int typeId)
VirtualDiskImage.getBuilderypeId()
public VirtualDiskImage.Builder description(String description)
VirtualDiskImage.getDescription()
public VirtualDiskImage.Builder name(String name)
VirtualDiskImage.getName()
public VirtualDiskImage.Builder storageRepositoryId(int storageRepositoryId)
public VirtualDiskImage.Builder softwareReferences(Set<VirtualDiskImageSoftware> softwareReferences)
public VirtualDiskImage.Builder softwareReferences(VirtualDiskImageSoftware... in)
public VirtualDiskImage build()
public VirtualDiskImage.Builder fromVirtualDiskImage(VirtualDiskImage in)
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.