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.ServiceAsync
asAsync()
Get an async version of this serviceAccount
getAccount()
A partition template's associated [[SoftLayer_Account|Account]].List<Partition>
getData()
An individual partition for a partition template.String
getExpireDate()
Template
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.OperatingSystem
getPartitionOperatingSystem()
A partition template's associated [[SoftLayer_Hardware_Component_Partition_OperatingSystem|Operating System]].List<Partition>
getPartitionTemplatePartition()
An individual partition for a partition template.void
setMask(Template.Mask mask)
Template.Mask
withMask()
Use the existing mask on this service or create it if not presentTemplate.Mask
withNewMask()
Overwrite the existing mask on this service with a new one and return it-
Methods inherited from interface com.softlayer.api.ResultLimitable
getLastResponseTotalItemCount, getResultLimit, setResultLimit
-
-
-
-
Method Detail
-
asAsync
Template.ServiceAsync asAsync()
Description copied from interface:Service
Get an async version of this service
-
withNewMask
Template.Mask withNewMask()
Description copied from interface:Maskable
Overwrite the existing mask on this service with a new one and return it- Specified by:
withNewMask
in interfaceMaskable
-
withMask
Template.Mask withMask()
Description copied from interface:Maskable
Use the existing mask on this service or create it if not present
-
setMask
void setMask(Template.Mask mask)
-
getObject
@ApiMethod(instanceRequired=true) Template 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
@ApiMethod(instanceRequired=true) Account getAccount()
A partition template's associated [[SoftLayer_Account|Account]].
-
getData
@ApiMethod(instanceRequired=true) List<Partition> getData()
An individual partition for a partition template. This is identical to 'partitionTemplatePartition' except this will sort unix partitions.
-
getExpireDate
@ApiMethod(instanceRequired=true) String getExpireDate()
-
getPartitionOperatingSystem
@ApiMethod(instanceRequired=true) OperatingSystem getPartitionOperatingSystem()
A partition template's associated [[SoftLayer_Hardware_Component_Partition_OperatingSystem|Operating System]].
-
getPartitionTemplatePartition
@ApiMethod(instanceRequired=true) List<Partition> getPartitionTemplatePartition()
An individual partition for a partition template.
-
-