Class Resource
java.lang.Object
com.softlayer.api.Type
com.softlayer.api.service.Entity
com.softlayer.api.service.notification.user.subscriber.Resource
@ApiType("SoftLayer_Notification_User_Subscriber_Resource") public class Resource extends Entity
Retrieve identifier cross-reference information. SoftLayer_Notification_User_Subscriber_Resource provides the resource table id and subscriber id relation. The resource table id is the id of the service the subscriber receives alerts for. This resource table id could be the unique identifier for a Storage Evault service or CDN service.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Resource.Mask
-
Field Summary
Fields Modifier and Type Field Description protected Subscriber
notificationUserSubscriber
The Subscriber information tied to the resource service.protected Long
notificationUserSubscriberId
Unique identifier of the subscriber that will receive the alerts for the resource subscribed to a notification.protected boolean
notificationUserSubscriberIdSpecified
protected Long
resourceTableId
Unique identifier for a SoftLayer service that is subscribed to a notification.protected boolean
resourceTableIdSpecified
-
Constructor Summary
Constructors Constructor Description Resource()
-
Method Summary
Modifier and Type Method Description Subscriber
getNotificationUserSubscriber()
Long
getNotificationUserSubscriberId()
Long
getResourceTableId()
boolean
isNotificationUserSubscriberIdSpecified()
boolean
isResourceTableIdSpecified()
void
setNotificationUserSubscriber(Subscriber notificationUserSubscriber)
void
setNotificationUserSubscriberId(Long notificationUserSubscriberId)
void
setResourceTableId(Long resourceTableId)
void
unsetNotificationUserSubscriberId()
void
unsetResourceTableId()
-
Field Details
-
notificationUserSubscriber
The Subscriber information tied to the resource service. -
notificationUserSubscriberId
Unique identifier of the subscriber that will receive the alerts for the resource subscribed to a notification. -
notificationUserSubscriberIdSpecified
protected boolean notificationUserSubscriberIdSpecified -
resourceTableId
Unique identifier for a SoftLayer service that is subscribed to a notification. Currently, the SoftLayer services that can be subscribed to notifications are:
Storage EVault CDN
-
resourceTableIdSpecified
protected boolean resourceTableIdSpecified
-
-
Constructor Details
-
Resource
public Resource()
-
-
Method Details
-
getNotificationUserSubscriber
-
setNotificationUserSubscriber
-
getNotificationUserSubscriberId
-
setNotificationUserSubscriberId
-
isNotificationUserSubscriberIdSpecified
public boolean isNotificationUserSubscriberIdSpecified() -
unsetNotificationUserSubscriberId
public void unsetNotificationUserSubscriberId() -
getResourceTableId
-
setResourceTableId
-
isResourceTableIdSpecified
public boolean isResourceTableIdSpecified() -
unsetResourceTableId
public void unsetResourceTableId()
-