Package org.jclouds.softlayer.domain
Class VirtualGuestBlockDeviceTemplate.Builder
- java.lang.Object
-
- org.jclouds.softlayer.domain.VirtualGuestBlockDeviceTemplate.Builder
-
- Enclosing class:
- VirtualGuestBlockDeviceTemplate
public static class VirtualGuestBlockDeviceTemplate.Builder extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected String
device
protected VirtualDiskImage
diskImage
protected int
diskImageId
protected float
diskSpace
protected int
groupId
protected int
id
protected String
units
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VirtualGuestBlockDeviceTemplate
build()
VirtualGuestBlockDeviceTemplate.Builder
device(String device)
VirtualGuestBlockDeviceTemplate.Builder
diskImage(VirtualDiskImage diskImage)
VirtualGuestBlockDeviceTemplate.Builder
diskImageId(int diskImageId)
VirtualGuestBlockDeviceTemplate.Builder
diskSpace(float diskSpace)
VirtualGuestBlockDeviceTemplate.Builder
fromVirtualGuestBlockDeviceTemplate(VirtualGuestBlockDeviceTemplate in)
VirtualGuestBlockDeviceTemplate.Builder
groupId(int groupId)
VirtualGuestBlockDeviceTemplate.Builder
id(int id)
VirtualGuestBlockDeviceTemplate.Builder
units(String units)
-
-
-
Field Detail
-
id
protected int id
-
device
protected String device
-
diskImageId
protected int diskImageId
-
diskSpace
protected float diskSpace
-
groupId
protected int groupId
-
units
protected String units
-
diskImage
protected VirtualDiskImage diskImage
-
-
Method Detail
-
id
public VirtualGuestBlockDeviceTemplate.Builder id(int id)
- See Also:
VirtualGuestBlockDeviceTemplate.getId()
-
device
public VirtualGuestBlockDeviceTemplate.Builder device(String device)
-
diskImageId
public VirtualGuestBlockDeviceTemplate.Builder diskImageId(int diskImageId)
-
diskSpace
public VirtualGuestBlockDeviceTemplate.Builder diskSpace(float diskSpace)
-
groupId
public VirtualGuestBlockDeviceTemplate.Builder groupId(int groupId)
-
units
public VirtualGuestBlockDeviceTemplate.Builder units(String units)
-
diskImage
public VirtualGuestBlockDeviceTemplate.Builder diskImage(VirtualDiskImage diskImage)
-
build
public VirtualGuestBlockDeviceTemplate build()
-
fromVirtualGuestBlockDeviceTemplate
public VirtualGuestBlockDeviceTemplate.Builder fromVirtualGuestBlockDeviceTemplate(VirtualGuestBlockDeviceTemplate in)
-
-