java.lang.Object
com.softlayer.api.Type
com.softlayer.api.service.Entity
com.softlayer.api.service.virtual.guest.block.device.Template

@ApiType("SoftLayer_Virtual_Guest_Block_Device_Template")
public class Template
extends Entity
The virtual block device template data type presents the structure in which all archived image templates are presented.

A virtual block device template, also known as a image template, represents the image of a virtual guest instance.
See Also:
SoftLayer_Virtual_Guest_Block_Device_Template
  • Field Details

    • diskImage

      @ApiProperty protected Image diskImage
      A block device template's disk image.
    • group

      @ApiProperty protected Group group
      A block device template's group. Several block device templates can be combined together into a group for archiving purposes.
    • device

      @ApiProperty(canBeNullOrNotSet=true) protected String device
      A name that identifies a block device template.
    • deviceSpecified

      protected boolean deviceSpecified
    • diskImageId

      @ApiProperty(canBeNullOrNotSet=true) protected Long diskImageId
      A block device template's [[SoftLayer_Virtual_Disk_Image|disk image]] ID.
    • diskImageIdSpecified

      protected boolean diskImageIdSpecified
    • diskSpace

      @ApiProperty(canBeNullOrNotSet=true) protected BigDecimal diskSpace
      The amount of disk space that a block device template is using. Use this number along with the units property to obtain the correct space used.
    • diskSpaceSpecified

      protected boolean diskSpaceSpecified
    • groupId

      @ApiProperty(canBeNullOrNotSet=true) protected Long groupId
      A block device template's [[SoftLayer_Virtual_Guest_Block_Device_Template_Group|group]] ID.
    • groupIdSpecified

      protected boolean groupIdSpecified
    • id

      @ApiProperty(canBeNullOrNotSet=true) protected Long id
      A block device template's unique ID.
    • idSpecified

      protected boolean idSpecified
    • units

      @ApiProperty(canBeNullOrNotSet=true) protected String units
      The units that will be used with the disk space property to identify the amount of disk space used.
    • unitsSpecified

      protected boolean unitsSpecified
  • Constructor Details

    • Template

      public Template()
  • Method Details

    • getDiskImage

      public Image getDiskImage()
    • setDiskImage

      public void setDiskImage​(Image diskImage)
    • getGroup

      public Group getGroup()
    • setGroup

      public void setGroup​(Group group)
    • getDevice

      public String getDevice()
    • setDevice

      public void setDevice​(String device)
    • isDeviceSpecified

      public boolean isDeviceSpecified()
    • unsetDevice

      public void unsetDevice()
    • getDiskImageId

      public Long getDiskImageId()
    • setDiskImageId

      public void setDiskImageId​(Long diskImageId)
    • isDiskImageIdSpecified

      public boolean isDiskImageIdSpecified()
    • unsetDiskImageId

      public void unsetDiskImageId()
    • getDiskSpace

      public BigDecimal getDiskSpace()
    • setDiskSpace

      public void setDiskSpace​(BigDecimal diskSpace)
    • isDiskSpaceSpecified

      public boolean isDiskSpaceSpecified()
    • unsetDiskSpace

      public void unsetDiskSpace()
    • getGroupId

      public Long getGroupId()
    • setGroupId

      public void setGroupId​(Long groupId)
    • isGroupIdSpecified

      public boolean isGroupIdSpecified()
    • unsetGroupId

      public void unsetGroupId()
    • getId

      public Long getId()
    • setId

      public void setId​(Long id)
    • isIdSpecified

      public boolean isIdSpecified()
    • unsetId

      public void unsetId()
    • getUnits

      public String getUnits()
    • setUnits

      public void setUnits​(String units)
    • isUnitsSpecified

      public boolean isUnitsSpecified()
    • unsetUnits

      public void unsetUnits()