Class Resource
- java.lang.Object
-
- com.softlayer.api.Type
-
- com.softlayer.api.service.Entity
-
- com.softlayer.api.service.notification.occurrence.Resource
-
- Direct Known Subclasses:
Controller
,EqualLogic
,Hardware
,Iscsi
,Lockbox
,Nas
,Nas
,NetApp
,Virtual
,VirtualIpAddress
,Volume
@ApiType("SoftLayer_Notification_Occurrence_Resource") public class Resource extends Entity
This type contains general information relating to any hardware or services that may be impacted by a SoftLayer_Notification_Occurrence_Event.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Resource.Mask
-
Field Summary
Fields Modifier and Type Field Description protected Long
active
protected boolean
activeSpecified
protected String
filterLabel
<<< EOT A label which gives some background as to what piece ofprotected boolean
filterLabelSpecified
protected Event
notificationOccurrenceEvent
The associated event.protected Long
notificationOccurrenceEventId
<<< EOT The unique identifier for the associatedprotected boolean
notificationOccurrenceEventIdSpecified
protected Entity
resource
The physical resource.protected Long
resourceAccountId
<<< EOT The unique identifier for the [[SoftLayer_Account]] associated withprotected boolean
resourceAccountIdSpecified
protected String
resourceName
protected boolean
resourceNameSpecified
protected Long
resourceTableId
<<< EOT The unique identifier for the physical resource that is associatedprotected boolean
resourceTableIdSpecified
-
Fields inherited from class com.softlayer.api.Type
unknownProperties
-
-
Constructor Summary
Constructors Constructor Description Resource()
-
Method Summary
-
Methods inherited from class com.softlayer.api.Type
getUnknownProperties, setUnknownProperties
-
-
-
-
Field Detail
-
notificationOccurrenceEvent
@ApiProperty protected Event notificationOccurrenceEvent
The associated event.
-
resource
@ApiProperty protected Entity resource
The physical resource.
-
active
@ApiProperty(canBeNullOrNotSet=true) protected Long active
-
activeSpecified
protected boolean activeSpecified
-
filterLabel
@ApiProperty(canBeNullOrNotSet=true) protected String filterLabel
<<< EOT A label which gives some background as to what piece of
-
filterLabelSpecified
protected boolean filterLabelSpecified
-
notificationOccurrenceEventId
@ApiProperty(canBeNullOrNotSet=true) protected Long notificationOccurrenceEventId
<<< EOT The unique identifier for the associated
-
notificationOccurrenceEventIdSpecified
protected boolean notificationOccurrenceEventIdSpecified
-
resourceAccountId
@ApiProperty(canBeNullOrNotSet=true) protected Long resourceAccountId
<<< EOT The unique identifier for the [[SoftLayer_Account]] associated with
-
resourceAccountIdSpecified
protected boolean resourceAccountIdSpecified
-
resourceName
@ApiProperty(canBeNullOrNotSet=true) protected String resourceName
-
resourceNameSpecified
protected boolean resourceNameSpecified
-
resourceTableId
@ApiProperty(canBeNullOrNotSet=true) protected Long resourceTableId
<<< EOT The unique identifier for the physical resource that is associated
-
resourceTableIdSpecified
protected boolean resourceTableIdSpecified
-
-
Method Detail
-
getNotificationOccurrenceEvent
public Event getNotificationOccurrenceEvent()
-
setNotificationOccurrenceEvent
public void setNotificationOccurrenceEvent(Event notificationOccurrenceEvent)
-
getResource
public Entity getResource()
-
setResource
public void setResource(Entity resource)
-
getActive
public Long getActive()
-
setActive
public void setActive(Long active)
-
isActiveSpecified
public boolean isActiveSpecified()
-
unsetActive
public void unsetActive()
-
getFilterLabel
public String getFilterLabel()
-
setFilterLabel
public void setFilterLabel(String filterLabel)
-
isFilterLabelSpecified
public boolean isFilterLabelSpecified()
-
unsetFilterLabel
public void unsetFilterLabel()
-
getNotificationOccurrenceEventId
public Long getNotificationOccurrenceEventId()
-
setNotificationOccurrenceEventId
public void setNotificationOccurrenceEventId(Long notificationOccurrenceEventId)
-
isNotificationOccurrenceEventIdSpecified
public boolean isNotificationOccurrenceEventIdSpecified()
-
unsetNotificationOccurrenceEventId
public void unsetNotificationOccurrenceEventId()
-
getResourceAccountId
public Long getResourceAccountId()
-
setResourceAccountId
public void setResourceAccountId(Long resourceAccountId)
-
isResourceAccountIdSpecified
public boolean isResourceAccountIdSpecified()
-
unsetResourceAccountId
public void unsetResourceAccountId()
-
getResourceName
public String getResourceName()
-
setResourceName
public void setResourceName(String resourceName)
-
isResourceNameSpecified
public boolean isResourceNameSpecified()
-
unsetResourceName
public void unsetResourceName()
-
getResourceTableId
public Long getResourceTableId()
-
setResourceTableId
public void setResourceTableId(Long resourceTableId)
-
isResourceTableIdSpecified
public boolean isResourceTableIdSpecified()
-
unsetResourceTableId
public void unsetResourceTableId()
-
-