Class 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.
    See Also:
    SoftLayer_Network_Monitor_Version1_Query_Host
    • Field Detail

      • hardware

        @ApiProperty
        protected Hardware hardware
        The hardware that is being monitored by this monitoring instance
      • lastResult

        @ApiProperty
        protected Result lastResult
        The most recent result for this particular monitoring instance.
      • queryType

        @ApiProperty
        protected Type queryType
        The type of monitoring query that is executed when this hardware is monitored.
      • arg1Value

        @ApiProperty(canBeNullOrNotSet=true)
        protected String 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
      • guestIdSpecified

        protected boolean guestIdSpecified
      • hardwareIdSpecified

        protected boolean hardwareIdSpecified
      • hostIdSpecified

        protected boolean hostIdSpecified
      • idSpecified

        protected boolean idSpecified
      • ipAddressSpecified

        protected boolean ipAddressSpecified
      • queryTypeIdSpecified

        protected boolean queryTypeIdSpecified
      • responseActionIdSpecified

        protected boolean responseActionIdSpecified
      • status

        @ApiProperty(canBeNullOrNotSet=true)
        protected String status
        The status of this monitoring instance. Anything other than "ON" means that the monitor has been disabled
      • statusSpecified

        protected boolean statusSpecified
      • waitCycles

        @ApiProperty(canBeNullOrNotSet=true)
        protected Long 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 Detail

      • Host

        public Host()
    • Method Detail

      • getHardware

        public Hardware getHardware()
      • setHardware

        public void setHardware​(Hardware hardware)
      • getLastResult

        public Result getLastResult()
      • setLastResult

        public void setLastResult​(Result lastResult)
      • getQueryType

        public Type getQueryType()
      • setQueryType

        public void setQueryType​(Type queryType)
      • getResponseAction

        public ResponseType getResponseAction()
      • setResponseAction

        public void setResponseAction​(ResponseType responseAction)
      • getArg1Value

        public String getArg1Value()
      • setArg1Value

        public void setArg1Value​(String arg1Value)
      • isArg1ValueSpecified

        public boolean isArg1ValueSpecified()
      • unsetArg1Value

        public void unsetArg1Value()
      • getGuestId

        public Long getGuestId()
      • setGuestId

        public void setGuestId​(Long guestId)
      • isGuestIdSpecified

        public boolean isGuestIdSpecified()
      • unsetGuestId

        public void unsetGuestId()
      • getHardwareId

        public Long getHardwareId()
      • setHardwareId

        public void setHardwareId​(Long hardwareId)
      • isHardwareIdSpecified

        public boolean isHardwareIdSpecified()
      • unsetHardwareId

        public void unsetHardwareId()
      • getHostId

        public Long getHostId()
      • setHostId

        public void setHostId​(Long hostId)
      • isHostIdSpecified

        public boolean isHostIdSpecified()
      • unsetHostId

        public void unsetHostId()
      • getId

        public Long getId()
      • setId

        public void setId​(Long id)
      • isIdSpecified

        public boolean isIdSpecified()
      • unsetId

        public void unsetId()
      • getIpAddress

        public String getIpAddress()
      • setIpAddress

        public void setIpAddress​(String ipAddress)
      • isIpAddressSpecified

        public boolean isIpAddressSpecified()
      • unsetIpAddress

        public void unsetIpAddress()
      • getQueryTypeId

        public Long getQueryTypeId()
      • setQueryTypeId

        public void setQueryTypeId​(Long queryTypeId)
      • isQueryTypeIdSpecified

        public boolean isQueryTypeIdSpecified()
      • unsetQueryTypeId

        public void unsetQueryTypeId()
      • getResponseActionId

        public Long getResponseActionId()
      • setResponseActionId

        public void setResponseActionId​(Long responseActionId)
      • isResponseActionIdSpecified

        public boolean isResponseActionIdSpecified()
      • unsetResponseActionId

        public void unsetResponseActionId()
      • getStatus

        public String getStatus()
      • setStatus

        public void setStatus​(String status)
      • isStatusSpecified

        public boolean isStatusSpecified()
      • unsetStatus

        public void unsetStatus()
      • getWaitCycles

        public Long getWaitCycles()
      • setWaitCycles

        public void setWaitCycles​(Long waitCycles)
      • isWaitCyclesSpecified

        public boolean isWaitCyclesSpecified()
      • unsetWaitCycles

        public void unsetWaitCycles()