Class Host
java.lang.Object
com.softlayer.api.Type
com.softlayer.api.service.Entity
com.softlayer.api.service.network.monitor.version1.query.Host
@ApiType("SoftLayer_Network_Monitor_Version1_Query_Host") public class Host extends Entity
The Monitoring_Query_Host type represents a monitoring instance. It consists of a hardware ID to monitor, an IP address attached to that hardware ID, a method of monitoring, and what to do in the instance that the monitor ever fails.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Host.Mask
static interface
Host.Service
The Query_Host service is the core of the monitoring system.static interface
Host.ServiceAsync
-
Field Summary
Fields Modifier and Type Field Description protected String
arg1Value
The argument to be used for this monitor, if necessary.protected boolean
arg1ValueSpecified
protected Long
guestId
Virtual Guest Identification Number for the guest being monitored.protected boolean
guestIdSpecified
protected Hardware
hardware
The hardware that is being monitored by this monitoring instanceprotected Long
hardwareId
The ID of the hardware being monitoredprotected boolean
hardwareIdSpecified
protected Long
hostId
Identification Number for the host being monitored.protected boolean
hostIdSpecified
protected Long
id
The unique identifier for this objectprotected boolean
idSpecified
protected String
ipAddress
The IP address to be monitored.protected boolean
ipAddressSpecified
protected Result
lastResult
The most recent result for this particular monitoring instance.protected Type
queryType
The type of monitoring query that is executed when this hardware is monitored.protected Long
queryTypeId
The ID of the query type to use.protected boolean
queryTypeIdSpecified
protected ResponseType
responseAction
The action taken when a monitor fails.protected Long
responseActionId
The ID of the response action to take when the monitor failsprotected boolean
responseActionIdSpecified
protected String
status
The status of this monitoring instance.protected boolean
statusSpecified
protected Long
waitCycles
The number of 5-minute cycles to wait before the "responseAction" is taken.protected boolean
waitCyclesSpecified
-
Constructor Summary
Constructors Constructor Description Host()
-
Method Summary
-
Field Details
-
hardware
The hardware that is being monitored by this monitoring instance -
lastResult
The most recent result for this particular monitoring instance. -
queryType
The type of monitoring query that is executed when this hardware is monitored. -
responseAction
The action taken when a monitor fails. -
arg1Value
The argument to be used for this monitor, if necessary. The lowest monitoring levels (like ping) ignore this setting, but higher levels like HTTP custom use it. -
arg1ValueSpecified
protected boolean arg1ValueSpecified -
guestId
Virtual Guest Identification Number for the guest being monitored. -
guestIdSpecified
protected boolean guestIdSpecified -
hardwareId
The ID of the hardware being monitored -
hardwareIdSpecified
protected boolean hardwareIdSpecified -
hostId
Identification Number for the host being monitored. -
hostIdSpecified
protected boolean hostIdSpecified -
id
The unique identifier for this object -
idSpecified
protected boolean idSpecified -
ipAddress
The IP address to be monitored. Must be attached to the hardware on this object -
ipAddressSpecified
protected boolean ipAddressSpecified -
queryTypeId
The ID of the query type to use. -
queryTypeIdSpecified
protected boolean queryTypeIdSpecified -
responseActionId
The ID of the response action to take when the monitor fails -
responseActionIdSpecified
protected boolean responseActionIdSpecified -
status
The status of this monitoring instance. Anything other than "ON" means that the monitor has been disabled -
statusSpecified
protected boolean statusSpecified -
waitCycles
The number of 5-minute cycles to wait before the "responseAction" is taken. If set to 0, the response action will be taken immediately -
waitCyclesSpecified
protected boolean waitCyclesSpecified
-
-
Constructor Details
-
Host
public Host()
-
-
Method Details
-
getHardware
-
setHardware
-
getLastResult
-
setLastResult
-
getQueryType
-
setQueryType
-
getResponseAction
-
setResponseAction
-
getArg1Value
-
setArg1Value
-
isArg1ValueSpecified
public boolean isArg1ValueSpecified() -
unsetArg1Value
public void unsetArg1Value() -
getGuestId
-
setGuestId
-
isGuestIdSpecified
public boolean isGuestIdSpecified() -
unsetGuestId
public void unsetGuestId() -
getHardwareId
-
setHardwareId
-
isHardwareIdSpecified
public boolean isHardwareIdSpecified() -
unsetHardwareId
public void unsetHardwareId() -
getHostId
-
setHostId
-
isHostIdSpecified
public boolean isHostIdSpecified() -
unsetHostId
public void unsetHostId() -
getId
-
setId
-
isIdSpecified
public boolean isIdSpecified() -
unsetId
public void unsetId() -
getIpAddress
-
setIpAddress
-
isIpAddressSpecified
public boolean isIpAddressSpecified() -
unsetIpAddress
public void unsetIpAddress() -
getQueryTypeId
-
setQueryTypeId
-
isQueryTypeIdSpecified
public boolean isQueryTypeIdSpecified() -
unsetQueryTypeId
public void unsetQueryTypeId() -
getResponseActionId
-
setResponseActionId
-
isResponseActionIdSpecified
public boolean isResponseActionIdSpecified() -
unsetResponseActionId
public void unsetResponseActionId() -
getStatus
-
setStatus
-
isStatusSpecified
public boolean isStatusSpecified() -
unsetStatus
public void unsetStatus() -
getWaitCycles
-
setWaitCycles
-
isWaitCyclesSpecified
public boolean isWaitCyclesSpecified() -
unsetWaitCycles
public void unsetWaitCycles() -
asService
-
service
-
service
-