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
Modifier and Type Method Description Key.ServiceAsync
asAsync()
Get an async version of this serviceKey
createObject(Key templateObject)
Add a ssh key to your account for use during server provisioning and os reloads.Boolean
deleteObject()
Remove a ssh key from your account.Boolean
editObject(Key templateObject)
Update a ssh key.Account
getAccount()
List<Group>
getBlockDeviceTemplateGroups()
The image template groups that are linked to an SSH key.Key
getObject()
List<Password>
getSoftwarePasswords()
The OS root users that are linked to an SSH key.void
setMask(Key.Mask mask)
Key.Mask
withMask()
Use the existing mask on this service or create it if not presentKey.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
Key.ServiceAsync asAsync()
Description copied from interface:Service
Get an async version of this service
-
withNewMask
Key.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
Key.Mask withMask()
Description copied from interface:Maskable
Use 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.
-
-