java.lang.Object
com.softlayer.api.Type
com.softlayer.api.service.Entity
com.softlayer.api.service.user.customer.notification.Hardware

@ApiType("SoftLayer_User_Customer_Notification_Hardware")
public class Hardware
extends Entity
The Customer_Notification_Hardware object stores links between customers and the hardware devices they wish to monitor. This link is not enough, the user must be sure to also create SoftLayer_Network_Monitor_Version1_Query_Host instance with the response action set to "notify users" in order for the users linked to that hardware object to be notified on failure.
See Also:
SoftLayer_User_Customer_Notification_Hardware
  • Field Details

    • hardware

      @ApiProperty protected Hardware hardware
      The hardware object that will be monitored.
    • user

      @ApiProperty protected Customer user
      The user that will be notified when the associated hardware object fails a monitoring instance.
    • hardwareId

      @ApiProperty(canBeNullOrNotSet=true) protected Long hardwareId
      The ID of the Hardware object that is to be monitored.
    • hardwareIdSpecified

      protected boolean hardwareIdSpecified
    • id

      @ApiProperty(canBeNullOrNotSet=true) protected Long id
      The unique identifier for this object
    • idSpecified

      protected boolean idSpecified
    • userId

      @ApiProperty(canBeNullOrNotSet=true) protected Long userId
      The ID of the SoftLayer_User_Customer object that represents the user to be notified on monitoring failure.
    • userIdSpecified

      protected boolean userIdSpecified
  • Constructor Details

    • Hardware

      public Hardware()
  • Method Details

    • getHardware

      public Hardware getHardware()
    • setHardware

      public void setHardware​(Hardware hardware)
    • getUser

      public Customer getUser()
    • setUser

      public void setUser​(Customer user)
    • getHardwareId

      public Long getHardwareId()
    • setHardwareId

      public void setHardwareId​(Long hardwareId)
    • isHardwareIdSpecified

      public boolean isHardwareIdSpecified()
    • unsetHardwareId

      public void unsetHardwareId()
    • getId

      public Long getId()
    • setId

      public void setId​(Long id)
    • isIdSpecified

      public boolean isIdSpecified()
    • unsetId

      public void unsetId()
    • getUserId

      public Long getUserId()
    • setUserId

      public void setUserId​(Long userId)
    • isUserIdSpecified

      public boolean isUserIdSpecified()
    • unsetUserId

      public void unsetUserId()
    • asService

      public Hardware.Service asService​(ApiClient client)
    • service

      public static Hardware.Service service​(ApiClient client)
    • service

      public static Hardware.Service service​(ApiClient client, Long id)