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.ServiceAsync
asAsync()
Get an async version of this serviceTemplate
copyTemplate(Template templateObject)
Copy a configuration template and returns a newly created template copyBoolean
deleteObject()
Deletes a customer configuration template.Boolean
editObject(Template templateObject)
Edit the object by passing in a modified instance of the object.Account
getAccount()
List<Template>
getAllObjects()
Retrieves all available configuration templatesList<Section>
getConfigurationSections()
List<Value>
getDefaultValues()
List<Definition>
getDefinitions()
Item
getItem()
Reference
getLinkedSectionReferences()
Template
getObject()
Template
getParent()
Customer
getUser()
void
setMask(Template.Mask mask)
Boolean
updateDefaultValues(List<Value> configurationValues)
Updates default configuration values.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)
-
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()
-
-