Interface AntivirusSpyware.Service
- All Superinterfaces:
Component.Service
,Maskable
,ResultLimitable
,Service
- Enclosing class:
- AntivirusSpyware
@ApiService("SoftLayer_Software_Component_AntivirusSpyware") public static interface AntivirusSpyware.Service extends Component.Service
This object specifies a specific type of Software Component: An Anti-virus/spyware instance.
-
Method Summary
Modifier and Type Method Description AntivirusSpyware.ServiceAsync
asAsync()
Get an async version of this serviceAntivirusSpyware
getObjectForAntivirusSpyware()
void
setMask(AntivirusSpyware.Mask mask)
Boolean
updateAntivirusSpywarePolicy(String newPolicy, Boolean enforce)
Update an anti-virus/spyware policy.AntivirusSpyware.Mask
withMask()
Use the existing mask on this service or create it if not presentAntivirusSpyware.Mask
withNewMask()
Overwrite the existing mask on this service with a new one and return itMethods inherited from interface com.softlayer.api.service.software.Component.Service
getAverageInstallationDuration, getBillingItem, getHardware, getLicenseFile, getObject, getPasswordHistory, getPasswords, getSoftwareDescription, getSoftwareLicense, getVendorSetUpConfiguration, getVirtualGuest, setMask
Methods inherited from interface com.softlayer.api.ResultLimitable
getLastResponseTotalItemCount, getResultLimit, setResultLimit
-
Method Details
-
asAsync
AntivirusSpyware.ServiceAsync asAsync()Description copied from interface:Service
Get an async version of this service- Specified by:
asAsync
in interfaceComponent.Service
- Specified by:
asAsync
in interfaceService
-
withNewMask
AntivirusSpyware.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 interfaceComponent.Service
- Specified by:
withNewMask
in interfaceMaskable
-
withMask
AntivirusSpyware.Mask withMask()Description copied from interface:Maskable
Use the existing mask on this service or create it if not present- Specified by:
withMask
in interfaceComponent.Service
- Specified by:
withMask
in interfaceMaskable
-
setMask
-
getObjectForAntivirusSpyware
@ApiMethod(value="getObject", instanceRequired=true) AntivirusSpyware getObjectForAntivirusSpyware() -
updateAntivirusSpywarePolicy
@ApiMethod(instanceRequired=true) Boolean updateAntivirusSpywarePolicy(String newPolicy, Boolean enforce)Update an anti-virus/spyware policy. The policy options that it accepts are the following:
*1 - Minimal
*2 - Relaxed
*3 - Default
*4 - High
*5 - Ultimate
-