2 * ============LICENSE_START=========================================================
4 * ================================================================================
5 * Copyright © 2017 AT&T Intellectual Property. All rights reserved.
6 * ================================================================================
7 * Licensed under the Apache License, Version 2.0 (the "License");
8 * you may not use this file except in compliance with the License.
9 * You may obtain a copy of the License at
11 * http://www.apache.org/licenses/LICENSE-2.0
13 * Unless required by applicable law or agreed to in writing, software
14 * distributed under the License is distributed on an "AS IS" BASIS,
15 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 * See the License for the specific language governing permissions and
17 * limitations under the License.
18 * ============LICENSE_END=========================================================
21 package org.onap.dcae.apod.analytics.model.domain.cef;
23 import java.util.List;
25 import lombok.EqualsAndHashCode;
28 * Common Event Format - Fields Specific to threshold crossing alert events
30 * @author Rajiv Singla. Creation Date: 08/15/2017.
33 @EqualsAndHashCode(callSuper = true)
34 public class ThresholdCrossingAlertFields extends BaseCEFModel {
36 private static final long serialVersionUID = 1L;
39 * Additional Performance counters parameters.
41 * @param additionalParameters New value for Additional Performance counters
42 * @return Additional Performance counters
44 private List<PerformanceCounter> additionalParameters;
49 * @param alertAction New Event Action
50 * @return Event alert action
52 private AlertAction alertAction;
55 * Unique short alert description such as IF-SHUB-ERRDROP
57 * @param alertDescription New value for Unique short alert description
58 * @return Unique short alert description
60 private String alertDescription;
65 * @param alertType New value for Alert Type
68 private AlertType alertType;
71 * Calculated API value (if applicable)
73 * @param alertValue New Calculated API value
74 * @return Calculated API value (if applicable)
76 private String alertValue;
79 * List of eventIds associated with the event being reported
81 * @param associatedAlertIdList New value for eventIds associated with the event
82 * @return List of eventIds associated with the event being reported
84 private List<String> associatedAlertIdList;
87 * Time when the performance collector picked up the data; with RFC 2822 compliant format:
88 * ‘Sat, 13 Mar 2010 11:29:05 -0800’
90 * @param collectionTimestamp Set new value for time when the performance collector picked up the data
91 * @return Time when the performance collector picked up the data
93 private String collectionTimestamp;
96 * Specific performance collector instance used
98 * @param dataCollector New value for specific performance collector instance used
99 * @return Specific performance collector instance used
101 private String dataCollector;
104 * Type of network element
106 * @param elementType New value for type of network element
107 * @return Type of network element
109 private String elementType;
112 * Event severity or priority
114 * @param eventSeverity New value for event severity or priority
115 * @return Event severity or priority
117 private EventSeverity eventSeverity;
120 * Time closest to when the measurement was made; with RFC 2822 compliant format: ‘Sat, 13 Mar 2010 11:29:05 -0800’
122 * @param eventStartTimestamp New value for time closest to when the measurement was made
123 * @return Time closest to when the measurement was made
125 private String eventStartTimestamp;
128 * Physical or logical port or card (if applicable)
130 * @param interfaceName New value for Physical or logical port or card (if applicable)
131 * @return Physical or logical port or card (if applicable)
133 private String interfaceName;
138 * @param networkService New value for network name
139 * @return Network name
141 private String networkService;
144 * Possible Root Cause (reserved for future use)
146 * @param possibleRootCause New value for possible root cause (reserved for future)
147 * @return Possible Root Cause (reserved for future use)
149 private String possibleRootCause;
152 * Version of the thresholdCrossingAlertFields block
154 * @param thresholdCrossingFieldsVersion New value for version of the thresholdCrossingAlertFields block
155 * @return Version of the thresholdCrossingAlertFields block
157 private Integer thresholdCrossingFieldsVersion;