2 * ============LICENSE_START========================================================================
3 * ONAP : ccsdk feature sdnr wt mountpoint-registrar
4 * =================================================================================================
5 * Copyright (C) 2021 Samsung Electronics Intellectual Property. All rights reserved.
6 * =================================================================================================
7 * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
8 * in compliance with the License. You may obtain a copy of the License at
10 * http://www.apache.org/licenses/LICENSE-2.0
12 * Unless required by applicable law or agreed to in writing, software distributed under the License
13 * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
14 * or implied. See the License for the specific language governing permissions and limitations under
16 * ============LICENSE_END==========================================================================
18 package org.onap.ccsdk.features.sdnr.wt.mountpointregistrar.impl;
20 public class CMBasicHeaderFieldsNotification {
21 private String cmNodeId;
22 private String cmSequence;
23 private String cmOccurrenceTime;
24 private String sourceId;
25 private String notificationType;
27 public static CMBasicHeaderFieldsNotificationBuilder builder() {
28 return new CMBasicHeaderFieldsNotificationBuilder();
31 private CMBasicHeaderFieldsNotification(
32 CMBasicHeaderFieldsNotification.CMBasicHeaderFieldsNotificationBuilder builder) {
33 this.cmNodeId = builder.cmNodeId;
34 this.cmSequence = builder.cmSequence;
35 this.cmOccurrenceTime = builder.cmOccurrenceTime;
36 this.sourceId = builder.sourceId;
37 this.notificationType = builder.notificationType;
40 public static class CMBasicHeaderFieldsNotificationBuilder {
41 private String cmNodeId;
42 private String cmSequence;
43 private String cmOccurrenceTime;
44 private String sourceId;
45 private String notificationType;
47 public CMBasicHeaderFieldsNotification build() {
48 return new CMBasicHeaderFieldsNotification(this);
51 public CMBasicHeaderFieldsNotificationBuilder withCMNodeId(String cmNodeId) {
52 this.cmNodeId = cmNodeId;
56 public CMBasicHeaderFieldsNotificationBuilder withCMSequence(
58 this.cmSequence = cmSequence;
62 public CMBasicHeaderFieldsNotificationBuilder withCMOccurrenceTime(
63 String cmOccurrenceTime) {
64 this.cmOccurrenceTime = cmOccurrenceTime;
68 public CMBasicHeaderFieldsNotificationBuilder withSourceId(String sourceId) {
69 this.sourceId = sourceId;
73 public CMBasicHeaderFieldsNotificationBuilder withNotificationType(
74 String notificationType) {
75 this.notificationType = notificationType;
80 public String getCmNodeId() {
84 public String getCmSequence() {
88 public String getCmOccurrenceTime() {
89 return cmOccurrenceTime;
92 public String getNotificationType() {
93 return notificationType;
96 public String getSourceId() {