Interface Template.Service
-
- All Superinterfaces:
Maskable,ResultLimitable,Service
- Enclosing class:
- Template
@ApiService("SoftLayer_Configuration_Template") public static interface Template.Service extends Service
Configuration template class encapsulated an arbitrary configuration values for various resources.- See Also:
- SoftLayer_Configuration_Template
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Template.ServiceAsyncasAsync()Get an async version of this serviceTemplatecopyTemplate(Template templateObject)Copy a configuration template and returns a newly created template copyBooleandeleteObject()Deletes a customer configuration template.BooleaneditObject(Template templateObject)Edit the object by passing in a modified instance of the object.AccountgetAccount()List<Template>getAllObjects()Retrieves all available configuration templatesList<Section>getConfigurationSections()List<Value>getDefaultValues()List<Definition>getDefinitions()ItemgetItem()ReferencegetLinkedSectionReferences()TemplategetObject()TemplategetParent()CustomergetUser()voidsetMask(Template.Mask mask)BooleanupdateDefaultValues(List<Value> configurationValues)Updates default configuration values.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 it-
Methods inherited from interface com.softlayer.api.ResultLimitable
getLastResponseTotalItemCount, getResultLimit, setResultLimit
-
-
-
-
Method Detail
-
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
void setMask(Template.Mask mask)
-
copyTemplate
@ApiMethod(instanceRequired=true) Template copyTemplate(Template templateObject)
Copy a configuration template and returns a newly created template copy
-
deleteObject
@ApiMethod(instanceRequired=true) Boolean deleteObject()
Deletes a customer configuration template.
-
editObject
@ApiMethod(instanceRequired=true) Boolean editObject(Template templateObject)
Edit the object by passing in a modified instance of the object. Use this method to modify configuration template name or description.
-
getAllObjects
@ApiMethod List<Template> getAllObjects()
Retrieves all available configuration templates
-
getObject
@ApiMethod(instanceRequired=true) Template getObject()
-
updateDefaultValues
@ApiMethod(instanceRequired=true) Boolean updateDefaultValues(List<Value> configurationValues)
Updates default configuration values.
-
getAccount
@ApiMethod(instanceRequired=true) Account getAccount()
-
getConfigurationSections
@ApiMethod(instanceRequired=true) List<Section> getConfigurationSections()
-
getDefaultValues
@ApiMethod(instanceRequired=true) List<Value> getDefaultValues()
-
getDefinitions
@ApiMethod(instanceRequired=true) List<Definition> getDefinitions()
-
getItem
@ApiMethod(instanceRequired=true) Item getItem()
-
getLinkedSectionReferences
@ApiMethod(instanceRequired=true) Reference getLinkedSectionReferences()
-
getParent
@ApiMethod(instanceRequired=true) Template getParent()
-
getUser
@ApiMethod(instanceRequired=true) Customer getUser()
-
-