Interface Key.Service
-
- All Superinterfaces:
Maskable,ResultLimitable,Service
- Enclosing class:
- Key
@ApiService("SoftLayer_Security_Ssh_Key") public static interface Key.Service extends Service
- See Also:
- SoftLayer_Security_Ssh_Key
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Key.ServiceAsyncasAsync()Get an async version of this serviceKeycreateObject(Key templateObject)Add a ssh key to your account for use during server provisioning and os reloads.BooleandeleteObject()Remove a ssh key from your account.BooleaneditObject(Key templateObject)Update a ssh key.AccountgetAccount()List<Group>getBlockDeviceTemplateGroups()The image template groups that are linked to an SSH key.KeygetObject()List<Password>getSoftwarePasswords()The OS root users that are linked to an SSH key.voidsetMask(Key.Mask mask)Key.MaskwithMask()Use the existing mask on this service or create it if not presentKey.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
Key.ServiceAsync asAsync()
Description copied from interface:ServiceGet an async version of this service
-
withNewMask
Key.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
Key.Mask withMask()
Description copied from interface:MaskableUse the existing mask on this service or create it if not present
-
setMask
void setMask(Key.Mask mask)
-
createObject
@ApiMethod Key createObject(Key templateObject)
Add a ssh key to your account for use during server provisioning and os reloads.- See Also:
- SoftLayer_Security_Ssh_Key::createObject
-
deleteObject
@ApiMethod(instanceRequired=true) Boolean deleteObject()
Remove a ssh key from your account.- See Also:
- SoftLayer_Security_Ssh_Key::deleteObject
-
editObject
@ApiMethod(instanceRequired=true) Boolean editObject(Key templateObject)
Update a ssh key.- See Also:
- SoftLayer_Security_Ssh_Key::editObject
-
getObject
@ApiMethod(instanceRequired=true) Key getObject()
- See Also:
- SoftLayer_Security_Ssh_Key::getObject
-
getAccount
@ApiMethod(instanceRequired=true) Account getAccount()
- See Also:
- SoftLayer_Security_Ssh_Key::getAccount
-
getBlockDeviceTemplateGroups
@ApiMethod(instanceRequired=true) List<Group> getBlockDeviceTemplateGroups()
The image template groups that are linked to an SSH key.
-
getSoftwarePasswords
@ApiMethod(instanceRequired=true) List<Password> getSoftwarePasswords()
The OS root users that are linked to an SSH key.
-
-