Interface Template.Service
- All Superinterfaces:
Maskable,ResultLimitable,Service
- Enclosing class:
- Template
@ApiService("SoftLayer_Hardware_Component_Partition_Template") public static interface Template.Service extends Service
Every SoftLayer Partition Template is defined in the SoftLayer_Hardware_Component_Partition_Template service. The '''SoftLayer_Hardware_Component_Partition_Template''' service defines all SoftLayer Partition Templates that exist. SoftLayer Partition Templates group together several partitions that define a configuration of templates for a particular hard drive.
-
Method Summary
Modifier and Type Method Description Template.ServiceAsyncasAsync()Get an async version of this serviceAccountgetAccount()A partition template's associated [[SoftLayer_Account|Account]].List<Partition>getData()An individual partition for a partition template.StringgetExpireDate()TemplategetObject()getObject retrieves the SoftLayer_Hardware_Component_Partition_Template object whose ID number corresponds to the ID number of the init parameter passed to the SoftLayer_Hardware_Component_Partition_Template service.OperatingSystemgetPartitionOperatingSystem()A partition template's associated [[SoftLayer_Hardware_Component_Partition_OperatingSystem|Operating System]].List<Partition>getPartitionTemplatePartition()An individual partition for a partition template.voidsetMask(Template.Mask mask)Template.MaskwithMask()Use the existing mask on this service or create it if not presentTemplate.MaskwithNewMask()Overwrite the existing mask on this service with a new one and return itMethods inherited from interface com.softlayer.api.ResultLimitable
getLastResponseTotalItemCount, getResultLimit, setResultLimit
-
Method Details
-
asAsync
Template.ServiceAsync asAsync()Description copied from interface:ServiceGet an async version of this service -
withNewMask
Template.Mask withNewMask()Description copied from interface:MaskableOverwrite the existing mask on this service with a new one and return it- Specified by:
withNewMaskin interfaceMaskable
-
withMask
Template.Mask withMask()Description copied from interface:MaskableUse the existing mask on this service or create it if not present -
setMask
-
getObject
getObject retrieves the SoftLayer_Hardware_Component_Partition_Template object whose ID number corresponds to the ID number of the init parameter passed to the SoftLayer_Hardware_Component_Partition_Template service. You can only retrieve the partition templates that your account created or the templates predefined by SoftLayer. -
getAccount
A partition template's associated [[SoftLayer_Account|Account]]. -
getData
An individual partition for a partition template. This is identical to 'partitionTemplatePartition' except this will sort unix partitions. -
getExpireDate
-
getPartitionOperatingSystem
A partition template's associated [[SoftLayer_Hardware_Component_Partition_OperatingSystem|Operating System]]. -
getPartitionTemplatePartition
An individual partition for a partition template.
-