Class IncidentReportRequestBody
java.lang.Object
org.odpi.openmetadata.frameworkservices.gaf.rest.IncidentReportRequestBody
IncidentReportRequestBody provides a structure for passing the properties for a new incident report.
-
Constructor Summary
ConstructorDescriptionDefault constructorCopy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionboolean
Equals method that returns true if containing properties are the same.Return any additional properties.Return the background information that describes how the incident occurred.int
Return the identifier of the governance domain that this incident report belongs to (0=ALL/ANY).Return the list of elements that are affected by this incident.Return the map of classifiers that help to organize and prioritize this incident report.Return the unique identifier of the person or process that created the incident.Return details of the previously raised incidents that relate to this situation.Return the unique name of the new incident report.int
hashCode()
Return hash code for this objectvoid
setAdditionalProperties
(Map<String, String> additionalProperties) Set up any additional properties.void
setBackground
(String background) Set up the background information that describes how the incident occurred.void
setDomainIdentifier
(int domainIdentifier) Set up the identifier of the governance domain that this incident report belongs to (0=ALL/ANY).void
setImpactedResources
(List<IncidentImpactedElement> impactedResources) Set up the list of elements that are affected by this incident.void
setIncidentClassifiers
(Map<String, Integer> incidentClassifiers) Set up the map of classifiers that help to organize and prioritize this incident report.void
setOriginatorGUID
(String originatorGUID) Set up the unique identifier of the person or process that created the incident.void
setPreviousIncidents
(List<IncidentDependency> previousIncidents) Set up details of the previously raised incidents that relate to this situation.void
setQualifiedName
(String qualifiedName) Set up the unique name of the new incident report.toString()
JSON-style toString.
-
Constructor Details
-
IncidentReportRequestBody
public IncidentReportRequestBody()Default constructor -
IncidentReportRequestBody
Copy/clone constructor- Parameters:
template
- object to copy
-
-
Method Details
-
getQualifiedName
Return the unique name of the new incident report.- Returns:
- string name
-
setQualifiedName
Set up the unique name of the new incident report.- Parameters:
qualifiedName
- string name
-
getDomainIdentifier
public int getDomainIdentifier()Return the identifier of the governance domain that this incident report belongs to (0=ALL/ANY).- Returns:
- int
-
setDomainIdentifier
public void setDomainIdentifier(int domainIdentifier) Set up the identifier of the governance domain that this incident report belongs to (0=ALL/ANY).- Parameters:
domainIdentifier
- int
-
getBackground
Return the background information that describes how the incident occurred.- Returns:
- string text
-
setBackground
Set up the background information that describes how the incident occurred.- Parameters:
background
- string text
-
getImpactedResources
Return the list of elements that are affected by this incident.- Returns:
- list of element identifiers
-
setImpactedResources
Set up the list of elements that are affected by this incident.- Parameters:
impactedResources
- list of element identifiers
-
getPreviousIncidents
Return details of the previously raised incidents that relate to this situation.- Returns:
- list of incident report details
-
setPreviousIncidents
Set up details of the previously raised incidents that relate to this situation.- Parameters:
previousIncidents
- list of incident report details
-
getIncidentClassifiers
Return the map of classifiers that help to organize and prioritize this incident report.- Returns:
- map of classifiers and values
-
setIncidentClassifiers
Set up the map of classifiers that help to organize and prioritize this incident report.- Parameters:
incidentClassifiers
- map of classifiers and values
-
getAdditionalProperties
Return any additional properties.- Returns:
- property map
-
setAdditionalProperties
Set up any additional properties.- Parameters:
additionalProperties
- property map
-
getOriginatorGUID
Return the unique identifier of the person or process that created the incident. This this is typically an ActorProfile or Process.- Returns:
- string guid
-
setOriginatorGUID
Set up the unique identifier of the person or process that created the incident.- Parameters:
originatorGUID
- string guid
-
toString
JSON-style toString. -
equals
Equals method that returns true if containing properties are the same. -
hashCode
public int hashCode()Return hash code for this object
-