General sonar fixes
[sdc.git] / catalog-be / src / main / java / org / openecomp / sdc / be / components / distribution / engine / AuditDistributionNotificationBuilder.java
1 /*-
2  * ============LICENSE_START=======================================================
3  *  Copyright (C) 2019 Samsung Electronics Co., Ltd. All rights reserved.
4  * ================================================================================
5  * Licensed under the Apache License, Version 2.0 (the "License");
6  * you may not use this file except in compliance with the License.
7  * You may obtain a copy of the License at
8  *
9  *      http://www.apache.org/licenses/LICENSE-2.0
10  *
11  * Unless required by applicable law or agreed to in writing, software
12  * distributed under the License is distributed on an "AS IS" BASIS,
13  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  * See the License for the specific language governing permissions and
15  * limitations under the License.
16  *
17  * SPDX-License-Identifier: Apache-2.0
18  * ============LICENSE_END=========================================================
19  */
20 package org.openecomp.sdc.be.components.distribution.engine;
21
22 import org.openecomp.sdc.be.model.Service;
23 import org.openecomp.sdc.be.model.User;
24
25 public class AuditDistributionNotificationBuilder {
26
27     private String topicName;
28     private String distributionId;
29     private CambriaErrorResponse status;
30     private Service service;
31     private String envId;
32     private User modifier;
33     private String workloadContext;
34     private String tenant;
35
36     public String getTopicName() {
37         return topicName;
38     }
39
40     public AuditDistributionNotificationBuilder setTopicName(String topicName) {
41         this.topicName = topicName;
42         return this;
43     }
44
45     public String getDistributionId() {
46         return distributionId;
47     }
48
49     public AuditDistributionNotificationBuilder setDistributionId(String distributionId) {
50         this.distributionId = distributionId;
51         return this;
52     }
53
54     public CambriaErrorResponse getStatus() {
55         return status;
56     }
57
58     public AuditDistributionNotificationBuilder setStatus(CambriaErrorResponse status) {
59         this.status = status;
60         return this;
61     }
62
63     public Service getService() {
64         return service;
65     }
66
67     public AuditDistributionNotificationBuilder setService(Service service) {
68         this.service = service;
69         return this;
70     }
71
72     public String getEnvId() {
73         return envId;
74     }
75
76     public AuditDistributionNotificationBuilder setEnvId(String envId) {
77         this.envId = envId;
78         return this;
79     }
80
81     public User getModifier() {
82         return modifier;
83     }
84
85     public AuditDistributionNotificationBuilder setModifier(User modifier) {
86         this.modifier = modifier;
87         return this;
88     }
89
90     public String getWorkloadContext() {
91         return workloadContext;
92     }
93
94     public AuditDistributionNotificationBuilder setWorkloadContext(String workloadContext) {
95         this.workloadContext = workloadContext;
96         return this;
97     }
98
99     public String getTenant() {
100         return tenant;
101     }
102
103     public AuditDistributionNotificationBuilder setTenant(String tenant) {
104         this.tenant = tenant;
105         return this;
106     }
107 }