public final class Alarm
extends java.lang.Object
implements java.io.Serializable, com.vmware.vapi.bindings.StaticStructure
Modifier and Type | Class and Description |
---|---|
static class |
Alarm.Builder
Builder class for
Alarm . |
Modifier and Type | Field and Description |
---|---|
protected com.vmware.vapi.data.StructValue |
__dynamicStructureFields |
static java.lang.String |
ALARM_SOURCE_TYPE_ENTITY_ID |
static java.lang.String |
ALARM_SOURCE_TYPE_INTENT_PATH |
static java.lang.String |
ALARM_SOURCE_TYPE_SYSTEM_ID |
static java.lang.String |
SEVERITY_CRITICAL |
static java.lang.String |
SEVERITY_HIGH |
static java.lang.String |
SEVERITY_LOW |
static java.lang.String |
SEVERITY_MEDIUM |
static java.lang.String |
STATUS_ACKNOWLEDGED |
static java.lang.String |
STATUS_OPEN |
static java.lang.String |
STATUS_RESOLVED |
static java.lang.String |
STATUS_SUPPRESSED |
Modifier | Constructor and Description |
---|---|
|
Alarm()
Default constructor.
|
protected |
Alarm(com.vmware.vapi.data.StructValue __dynamicStructureFields) |
Modifier and Type | Method and Description |
---|---|
<T extends com.vmware.vapi.bindings.Structure> |
_convertTo(java.lang.Class<T> clazz) |
java.lang.String |
_getCanonicalName() |
static java.lang.String |
_getCanonicalTypeName()
Returns the canonical type name.
|
static com.vmware.vapi.bindings.type.StructType |
_getClassType()
WARNING: Internal method, subject to change in future versions.
|
com.vmware.vapi.data.StructValue |
_getDataValue() |
com.vmware.vapi.data.DataValue |
_getDynamicField(java.lang.String fieldName) |
java.util.Set<java.lang.String> |
_getDynamicFieldNames() |
com.vmware.vapi.bindings.type.StructType |
_getType() |
boolean |
_hasTypeNameOf(java.lang.Class<? extends com.vmware.vapi.bindings.Structure> clazz) |
static Alarm |
_newInstance(com.vmware.vapi.data.StructValue structValue)
WARNING: Internal method, subject to change in future versions.
Returns new instance of this binding class and injects the provided data value. WARNING: The returned object is not fully initialized. |
static Alarm |
_newInstance2(com.vmware.vapi.data.StructValue structValue)
WARNING: Internal method, subject to change in future versions.
Serves as a versioning mechanism. |
void |
_setDynamicField(java.lang.String fieldName,
com.vmware.vapi.data.DataValue fieldValue) |
protected void |
_updateDataValue(com.vmware.vapi.data.StructValue structValue) |
void |
_validate() |
boolean |
equals(java.lang.Object obj) |
java.util.List<java.lang.String> |
getAlarmSource()
If alarm_source_type = INTENT_PATH, this field will contain a list of intent
paths for the entity that the event instance applies to.
|
java.lang.String |
getAlarmSourceType()
Possible values are:
ALARM_SOURCE_TYPE_INTENT_PATH ALARM_SOURCE_TYPE_ENTITY_ID ALARM_SOURCE_TYPE_SYSTEM_ID Type of alarm
source of the Event instance. |
java.lang.Long |
getCreateTime()
Timestamp of resource creation format: int64
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
java.lang.String |
getCreateUser()
ID of the user who created this resource
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
java.lang.String |
getDescription()
Detailed description of Alarm.
|
java.lang.String |
getDisplayName()
Defaults to ID if not set
|
java.lang.String |
getEntityId()
The entity that the Event instance applies to.
|
java.lang.String |
getEntityResourceType()
The entity type that the Event instance applies to.
|
java.util.List<java.lang.String> |
getEventTags()
Tags applicable to event, for example, INFRASTRUCTURE or INTELLIGENCE.
|
java.lang.String |
getEventType()
Name of Event, e.g.
|
java.lang.String |
getEventTypeDisplayName()
Display name of Event type.
|
java.lang.String |
getFeatureDisplayName()
Display name of feature defining this Event.
|
java.lang.String |
getFeatureName()
Feature defining this Event, e.g.
|
java.lang.String |
getId()
ID that uniquely identifies an Alarm.
|
java.lang.String |
getKbArticle()
KB article link that contains more information on this alarm and recommended
actions.
|
java.lang.Long |
getLastModifiedTime()
Timestamp of last modification format: int64
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
java.lang.String |
getLastModifiedUser()
ID of the user who last modified this resource
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
java.lang.Long |
getLastReportedTime()
Indicates when the corresponding Event instance was last reported in
milliseconds since epoch.
|
java.util.List<ResourceLink> |
getLinks()
The server will populate this field when returing the resource.
|
java.lang.String |
getNodeDisplayName()
Display name of node that the event instance applies to.
|
java.lang.String |
getNodeId()
The UUID of the node that the Event instance applies to.
|
java.util.List<java.lang.String> |
getNodeIpAddresses()
IP addresses of node that the event instance applies to.
|
java.lang.String |
getNodeResourceType()
The resource type of node that the Event instance applies to eg.
|
java.lang.String |
getProtection()
Protection status is one of the following: PROTECTED - the client who retrieved
the entity is not allowed to modify it.
|
java.lang.String |
getRecommendedAction()
Recommended action for Alarm.
|
java.lang.Long |
getReoccurrencesWhileSuppressed()
The number of reoccurrences since this alarm has been SUPPRESSED.
|
java.lang.String |
getResolvedBy()
User ID of the user that set the status value to RESOLVED.
|
java.lang.Long |
getResolvedTime()
Indicates when the Alarm was resolved in milliseconds since epoch.
|
java.lang.String |
getResourceType()
The type of this resource.
|
java.lang.Long |
getRevision()
The _revision property describes the current revision of the resource.
|
java.lang.String |
getRuntimeData()
Runtime data for Alarm.
|
java.lang.String |
getSchema()
Schema for this resource
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
SelfResourceLink |
getSelf() |
java.lang.String |
getSeverity()
Possible values are:
SEVERITY_CRITICAL SEVERITY_HIGH SEVERITY_MEDIUM SEVERITY_LOW Severity of the Alarm.Can be
one of - CRITICAL, HIGH, MEDIUM, LOW. |
java.lang.String |
getStatus()
Possible values are:
STATUS_OPEN STATUS_ACKNOWLEDGED STATUS_SUPPRESSED STATUS_RESOLVED Indicate the status which
the Alarm is in. |
java.lang.String |
getSummary()
Summary description of Alarm.
|
java.lang.Long |
getSuppressDuration()
The time period between suppress_start_time and suppress_start_time +
suppress_duration (specified in hours) an Alarm is SUPPRESSED.
|
java.lang.String |
getSuppressedBy()
User ID of the user that set the status value to SUPPRESSED.
|
java.lang.Long |
getSuppressStartTime()
Indicates when the Alarm was suppressed in milliseconds since epoch.
|
java.lang.Boolean |
getSystemOwned()
Indicates system owned resource
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
java.util.List<Tag> |
getTags()
Opaque identifiers meaningful to the API user
|
int |
hashCode() |
void |
setAlarmSource(java.util.List<java.lang.String> alarmSource)
If alarm_source_type = INTENT_PATH, this field will contain a list of intent
paths for the entity that the event instance applies to.
|
void |
setAlarmSourceType(java.lang.String alarmSourceType)
Possible values are:
ALARM_SOURCE_TYPE_INTENT_PATH ALARM_SOURCE_TYPE_ENTITY_ID ALARM_SOURCE_TYPE_SYSTEM_ID Type of alarm
source of the Event instance. |
void |
setCreateTime(java.lang.Long createTime)
Timestamp of resource creation format: int64
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
void |
setCreateUser(java.lang.String createUser)
ID of the user who created this resource
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
void |
setDescription(java.lang.String description)
Detailed description of Alarm.
|
void |
setDisplayName(java.lang.String displayName)
Defaults to ID if not set
|
void |
setEntityId(java.lang.String entityId)
The entity that the Event instance applies to.
|
void |
setEntityResourceType(java.lang.String entityResourceType)
The entity type that the Event instance applies to.
|
void |
setEventTags(java.util.List<java.lang.String> eventTags)
Tags applicable to event, for example, INFRASTRUCTURE or INTELLIGENCE.
|
void |
setEventType(java.lang.String eventType)
Name of Event, e.g.
|
void |
setEventTypeDisplayName(java.lang.String eventTypeDisplayName)
Display name of Event type.
|
void |
setFeatureDisplayName(java.lang.String featureDisplayName)
Display name of feature defining this Event.
|
void |
setFeatureName(java.lang.String featureName)
Feature defining this Event, e.g.
|
void |
setId(java.lang.String id)
ID that uniquely identifies an Alarm.
|
void |
setKbArticle(java.lang.String kbArticle)
KB article link that contains more information on this alarm and recommended
actions.
|
void |
setLastModifiedTime(java.lang.Long lastModifiedTime)
Timestamp of last modification format: int64
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
void |
setLastModifiedUser(java.lang.String lastModifiedUser)
ID of the user who last modified this resource
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
void |
setLastReportedTime(java.lang.Long lastReportedTime)
Indicates when the corresponding Event instance was last reported in
milliseconds since epoch.
|
void |
setLinks(java.util.List<ResourceLink> links)
The server will populate this field when returing the resource.
|
void |
setNodeDisplayName(java.lang.String nodeDisplayName)
Display name of node that the event instance applies to.
|
void |
setNodeId(java.lang.String nodeId)
The UUID of the node that the Event instance applies to.
|
void |
setNodeIpAddresses(java.util.List<java.lang.String> nodeIpAddresses)
IP addresses of node that the event instance applies to.
|
void |
setNodeResourceType(java.lang.String nodeResourceType)
The resource type of node that the Event instance applies to eg.
|
void |
setProtection(java.lang.String protection)
Protection status is one of the following: PROTECTED - the client who retrieved
the entity is not allowed to modify it.
|
void |
setRecommendedAction(java.lang.String recommendedAction)
Recommended action for Alarm.
|
void |
setReoccurrencesWhileSuppressed(java.lang.Long reoccurrencesWhileSuppressed)
The number of reoccurrences since this alarm has been SUPPRESSED.
|
void |
setResolvedBy(java.lang.String resolvedBy)
User ID of the user that set the status value to RESOLVED.
|
void |
setResolvedTime(java.lang.Long resolvedTime)
Indicates when the Alarm was resolved in milliseconds since epoch.
|
void |
setResourceType(java.lang.String resourceType)
The type of this resource.
|
void |
setRevision(java.lang.Long revision)
The _revision property describes the current revision of the resource.
|
void |
setRuntimeData(java.lang.String runtimeData)
Runtime data for Alarm.
|
void |
setSchema(java.lang.String schema)
Schema for this resource
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
void |
setSelf(SelfResourceLink self) |
void |
setSeverity(java.lang.String severity)
Possible values are:
SEVERITY_CRITICAL SEVERITY_HIGH SEVERITY_MEDIUM SEVERITY_LOW Severity of the Alarm.Can be
one of - CRITICAL, HIGH, MEDIUM, LOW. |
void |
setStatus(java.lang.String status)
Possible values are:
STATUS_OPEN STATUS_ACKNOWLEDGED STATUS_SUPPRESSED STATUS_RESOLVED Indicate the status which
the Alarm is in. |
void |
setSummary(java.lang.String summary)
Summary description of Alarm.
|
void |
setSuppressDuration(java.lang.Long suppressDuration)
The time period between suppress_start_time and suppress_start_time +
suppress_duration (specified in hours) an Alarm is SUPPRESSED.
|
void |
setSuppressedBy(java.lang.String suppressedBy)
User ID of the user that set the status value to SUPPRESSED.
|
void |
setSuppressStartTime(java.lang.Long suppressStartTime)
Indicates when the Alarm was suppressed in milliseconds since epoch.
|
void |
setSystemOwned(java.lang.Boolean systemOwned)
Indicates system owned resource
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
void |
setTags(java.util.List<Tag> tags)
Opaque identifiers meaningful to the API user
|
java.lang.String |
toString() |
public static final java.lang.String ALARM_SOURCE_TYPE_INTENT_PATH
public static final java.lang.String ALARM_SOURCE_TYPE_ENTITY_ID
public static final java.lang.String ALARM_SOURCE_TYPE_SYSTEM_ID
public static final java.lang.String SEVERITY_CRITICAL
public static final java.lang.String SEVERITY_HIGH
public static final java.lang.String SEVERITY_MEDIUM
public static final java.lang.String SEVERITY_LOW
public static final java.lang.String STATUS_OPEN
public static final java.lang.String STATUS_ACKNOWLEDGED
public static final java.lang.String STATUS_SUPPRESSED
public static final java.lang.String STATUS_RESOLVED
protected com.vmware.vapi.data.StructValue __dynamicStructureFields
public Alarm()
protected Alarm(com.vmware.vapi.data.StructValue __dynamicStructureFields)
public java.util.List<ResourceLink> getLinks()
public void setLinks(java.util.List<ResourceLink> links)
links
- New value for the property.public java.lang.String getSchema()
public void setSchema(java.lang.String schema)
schema
- New value for the property.public SelfResourceLink getSelf()
public void setSelf(SelfResourceLink self)
self
- New value for the property.public java.lang.Long getRevision()
public void setRevision(java.lang.Long revision)
revision
- New value for the property.public java.lang.Long getCreateTime()
public void setCreateTime(java.lang.Long createTime)
createTime
- New value for the property.public java.lang.String getCreateUser()
public void setCreateUser(java.lang.String createUser)
createUser
- New value for the property.public java.lang.Long getLastModifiedTime()
public void setLastModifiedTime(java.lang.Long lastModifiedTime)
lastModifiedTime
- New value for the property.public java.lang.String getLastModifiedUser()
public void setLastModifiedUser(java.lang.String lastModifiedUser)
lastModifiedUser
- New value for the property.public java.lang.String getProtection()
public void setProtection(java.lang.String protection)
protection
- New value for the property.public java.lang.Boolean getSystemOwned()
public void setSystemOwned(java.lang.Boolean systemOwned)
systemOwned
- New value for the property.public java.lang.String getDescription()
public void setDescription(java.lang.String description)
description
- New value for the property.public java.lang.String getDisplayName()
public void setDisplayName(java.lang.String displayName)
displayName
- New value for the property.public java.lang.String getId()
public void setId(java.lang.String id)
id
- New value for the property.public java.lang.String getResourceType()
public void setResourceType(java.lang.String resourceType)
resourceType
- New value for the property.public java.util.List<Tag> getTags()
public void setTags(java.util.List<Tag> tags)
tags
- New value for the property.public java.util.List<java.lang.String> getAlarmSource()
public void setAlarmSource(java.util.List<java.lang.String> alarmSource)
alarmSource
- New value for the property.public java.lang.String getAlarmSourceType()
public void setAlarmSourceType(java.lang.String alarmSourceType)
alarmSourceType
- New value for the property.public java.lang.String getEntityId()
public void setEntityId(java.lang.String entityId)
entityId
- New value for the property.public java.lang.String getEntityResourceType()
public void setEntityResourceType(java.lang.String entityResourceType)
entityResourceType
- New value for the property.public java.util.List<java.lang.String> getEventTags()
public void setEventTags(java.util.List<java.lang.String> eventTags)
eventTags
- New value for the property.public java.lang.String getEventType()
public void setEventType(java.lang.String eventType)
eventType
- New value for the property.public java.lang.String getEventTypeDisplayName()
public void setEventTypeDisplayName(java.lang.String eventTypeDisplayName)
eventTypeDisplayName
- New value for the property.public java.lang.String getFeatureDisplayName()
public void setFeatureDisplayName(java.lang.String featureDisplayName)
featureDisplayName
- New value for the property.public java.lang.String getFeatureName()
public void setFeatureName(java.lang.String featureName)
featureName
- New value for the property.public java.lang.String getKbArticle()
public void setKbArticle(java.lang.String kbArticle)
kbArticle
- New value for the property.public java.lang.Long getLastReportedTime()
public void setLastReportedTime(java.lang.Long lastReportedTime)
lastReportedTime
- New value for the property.public java.lang.String getNodeDisplayName()
public void setNodeDisplayName(java.lang.String nodeDisplayName)
nodeDisplayName
- New value for the property.public java.lang.String getNodeId()
public void setNodeId(java.lang.String nodeId)
nodeId
- New value for the property.public java.util.List<java.lang.String> getNodeIpAddresses()
public void setNodeIpAddresses(java.util.List<java.lang.String> nodeIpAddresses)
nodeIpAddresses
- New value for the property.public java.lang.String getNodeResourceType()
public void setNodeResourceType(java.lang.String nodeResourceType)
nodeResourceType
- New value for the property.public java.lang.String getRecommendedAction()
public void setRecommendedAction(java.lang.String recommendedAction)
recommendedAction
- New value for the property.public java.lang.Long getReoccurrencesWhileSuppressed()
public void setReoccurrencesWhileSuppressed(java.lang.Long reoccurrencesWhileSuppressed)
reoccurrencesWhileSuppressed
- New value for the property.public java.lang.String getResolvedBy()
public void setResolvedBy(java.lang.String resolvedBy)
resolvedBy
- New value for the property.public java.lang.Long getResolvedTime()
public void setResolvedTime(java.lang.Long resolvedTime)
resolvedTime
- New value for the property.public java.lang.String getRuntimeData()
public void setRuntimeData(java.lang.String runtimeData)
runtimeData
- New value for the property.public java.lang.String getSeverity()
public void setSeverity(java.lang.String severity)
severity
- New value for the property.public java.lang.String getStatus()
public void setStatus(java.lang.String status)
status
- New value for the property.public java.lang.String getSummary()
public void setSummary(java.lang.String summary)
summary
- New value for the property.public java.lang.Long getSuppressDuration()
public void setSuppressDuration(java.lang.Long suppressDuration)
suppressDuration
- New value for the property.public java.lang.Long getSuppressStartTime()
public void setSuppressStartTime(java.lang.Long suppressStartTime)
suppressStartTime
- New value for the property.public java.lang.String getSuppressedBy()
public void setSuppressedBy(java.lang.String suppressedBy)
suppressedBy
- New value for the property.public com.vmware.vapi.bindings.type.StructType _getType()
_getType
in interface com.vmware.vapi.bindings.StaticStructure
public com.vmware.vapi.data.StructValue _getDataValue()
_getDataValue
in interface com.vmware.vapi.bindings.Structure
protected void _updateDataValue(com.vmware.vapi.data.StructValue structValue)
public void _validate()
_validate
in interface com.vmware.vapi.bindings.StaticStructure
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in interface com.vmware.vapi.bindings.StaticStructure
toString
in class java.lang.Object
public boolean _hasTypeNameOf(java.lang.Class<? extends com.vmware.vapi.bindings.Structure> clazz)
_hasTypeNameOf
in interface com.vmware.vapi.bindings.Structure
public <T extends com.vmware.vapi.bindings.Structure> T _convertTo(java.lang.Class<T> clazz)
_convertTo
in interface com.vmware.vapi.bindings.Structure
public void _setDynamicField(java.lang.String fieldName, com.vmware.vapi.data.DataValue fieldValue)
_setDynamicField
in interface com.vmware.vapi.bindings.StaticStructure
public com.vmware.vapi.data.DataValue _getDynamicField(java.lang.String fieldName)
_getDynamicField
in interface com.vmware.vapi.bindings.StaticStructure
public java.util.Set<java.lang.String> _getDynamicFieldNames()
_getDynamicFieldNames
in interface com.vmware.vapi.bindings.StaticStructure
public static com.vmware.vapi.bindings.type.StructType _getClassType()
StructType
instance representing the static bindings
type for this Structure
.public java.lang.String _getCanonicalName()
_getCanonicalName
in interface com.vmware.vapi.bindings.Structure
public static java.lang.String _getCanonicalTypeName()
_getCanonicalName()
.public static Alarm _newInstance(com.vmware.vapi.data.StructValue structValue)
structValue
- the source of the data contained in the binding object. Could
contain more data than fields of this class can describe i.e.
newer version of the binding object. Could be null.StructType
public static Alarm _newInstance2(com.vmware.vapi.data.StructValue structValue)