Interface Component.Service
-
- All Superinterfaces:
Maskable,ResultLimitable,Service
- All Known Subinterfaces:
AntivirusSpyware.Service,HostIps.Service
- Enclosing class:
- Component
@ApiService("SoftLayer_Software_Component") public static interface Component.Service extends Service
Every installed piece of software is represented in the API as a "Software Component." This is the base class for software components, exposing basic functionality for software components. From any Software Component, through this service, you can get the hardware a component is installed upon, the license that this component is governed by, the current access passwords for a component, and the history of previous passwords for a component.- See Also:
- SoftLayer_Software_Component
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Component.ServiceAsyncasAsync()Get an async version of this serviceLonggetAverageInstallationDuration()The average amount of time that a software component takes to install.ItemgetBillingItem()The billing item for a software component.HardwaregetHardware()The hardware this Software Component is installed upon.StringgetLicenseFile()Attempt to retrieve the file associated with a software component.ComponentgetObject()getObject retrieves the SoftLayer_Software_Component object whose ID corresponds to the ID number of the init parameter passed to the SoftLayer_Software_Component service.List<History>getPasswordHistory()History Records for Software Passwords.List<Password>getPasswords()Username/Password pairs used for access to this Software Installation.DescriptiongetSoftwareDescription()The Software Description of this Software Component.LicensegetSoftwareLicense()The License this Software Component uses.StringgetVendorSetUpConfiguration()GuestgetVirtualGuest()The virtual guest this software component is installed upon.voidsetMask(Component.Mask mask)Component.MaskwithMask()Use the existing mask on this service or create it if not presentComponent.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
Component.ServiceAsync asAsync()
Description copied from interface:ServiceGet an async version of this service
-
withNewMask
Component.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
Component.Mask withMask()
Description copied from interface:MaskableUse the existing mask on this service or create it if not present
-
setMask
void setMask(Component.Mask mask)
-
getLicenseFile
@ApiMethod(instanceRequired=true) String getLicenseFile()
Attempt to retrieve the file associated with a software component. If the software component does not support downloading license files an exception will be thrown.
-
getObject
@ApiMethod(instanceRequired=true) Component getObject()
getObject retrieves the SoftLayer_Software_Component object whose ID corresponds to the ID number of the init parameter passed to the SoftLayer_Software_Component service.
The best way to get software components is through getSoftwareComponents from the Hardware service.- See Also:
- SoftLayer_Software_Component::getObject
-
getVendorSetUpConfiguration
@ApiMethod(instanceRequired=true) String getVendorSetUpConfiguration()
-
getAverageInstallationDuration
@ApiMethod(instanceRequired=true) Long getAverageInstallationDuration()
The average amount of time that a software component takes to install.
-
getBillingItem
@ApiMethod(instanceRequired=true) Item getBillingItem()
The billing item for a software component.
-
getHardware
@ApiMethod(instanceRequired=true) Hardware getHardware()
The hardware this Software Component is installed upon.
-
getPasswordHistory
@ApiMethod(instanceRequired=true) List<History> getPasswordHistory()
History Records for Software Passwords.
-
getPasswords
@ApiMethod(instanceRequired=true) List<Password> getPasswords()
Username/Password pairs used for access to this Software Installation.
-
getSoftwareDescription
@ApiMethod(instanceRequired=true) Description getSoftwareDescription()
The Software Description of this Software Component.
-
getSoftwareLicense
@ApiMethod(instanceRequired=true) License getSoftwareLicense()
The License this Software Component uses.
-
getVirtualGuest
@ApiMethod(instanceRequired=true) Guest getVirtualGuest()
The virtual guest this software component is installed upon.
-
-