Package org.jclouds.softlayer.domain
Class VirtualDiskImage.Builder
- java.lang.Object
-
- org.jclouds.softlayer.domain.VirtualDiskImage.Builder
-
- Enclosing class:
- VirtualDiskImage
public static class VirtualDiskImage.Builder extends Object
-
-
Field Summary
Fields Modifier and Type Field 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 Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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)
-
-
-
Field Detail
-
id
protected int id
-
uuid
protected String uuid
-
capacity
protected float capacity
-
units
protected String units
-
typeId
protected int typeId
-
description
protected String description
-
name
protected String name
-
storageRepositoryId
protected int storageRepositoryId
-
softwareReferences
protected com.google.common.collect.ImmutableSet.Builder<VirtualDiskImageSoftware> softwareReferences
-
-
Method Detail
-
id
public VirtualDiskImage.Builder id(int id)
- See Also:
VirtualDiskImage.getId()
-
uuid
public VirtualDiskImage.Builder uuid(String uuid)
- See Also:
VirtualDiskImage.getUuid()
-
capacity
public VirtualDiskImage.Builder capacity(float capacity)
- See Also:
VirtualDiskImage.getCapacity()
-
units
public VirtualDiskImage.Builder units(String units)
- See Also:
VirtualDiskImage.getUnits()
-
typeId
public VirtualDiskImage.Builder typeId(int typeId)
- See Also:
VirtualDiskImage.getBuilderypeId()
-
description
public VirtualDiskImage.Builder description(String description)
- See Also:
VirtualDiskImage.getDescription()
-
name
public VirtualDiskImage.Builder name(String name)
- See Also:
VirtualDiskImage.getName()
-
storageRepositoryId
public VirtualDiskImage.Builder storageRepositoryId(int storageRepositoryId)
-
softwareReferences
public VirtualDiskImage.Builder softwareReferences(Set<VirtualDiskImageSoftware> softwareReferences)
-
softwareReferences
public VirtualDiskImage.Builder softwareReferences(VirtualDiskImageSoftware... in)
-
build
public VirtualDiskImage build()
-
fromVirtualDiskImage
public VirtualDiskImage.Builder fromVirtualDiskImage(VirtualDiskImage in)
-
-