54047b497b5b14686c6577e3138f4715a7314133
[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 AuditDistributionNotificationBuilder() {}
37
38     public String getTopicName() {
39         return topicName;
40     }
41
42     public AuditDistributionNotificationBuilder setTopicName(String topicName) {
43         this.topicName = topicName;
44         return this;
45     }
46
47     public String getDistributionId() {
48         return distributionId;
49     }
50
51     public AuditDistributionNotificationBuilder setDistributionId(String distributionId) {
52         this.distributionId = distributionId;
53         return this;
54     }
55
56     public CambriaErrorResponse getStatus() {
57         return status;
58     }
59
60     public AuditDistributionNotificationBuilder setStatus(CambriaErrorResponse status) {
61         this.status = status;
62         return this;
63     }
64
65     public Service getService() {
66         return service;
67     }
68
69     public AuditDistributionNotificationBuilder setService(Service service) {
70         this.service = service;
71         return this;
72     }
73
74     public String getEnvId() {
75         return envId;
76     }
77
78     public AuditDistributionNotificationBuilder setEnvId(String envId) {
79         this.envId = envId;
80         return this;
81     }
82
83     public User getModifier() {
84         return modifier;
85     }
86
87     public AuditDistributionNotificationBuilder setModifier(User modifier) {
88         this.modifier = modifier;
89         return this;
90     }
91
92     public String getWorkloadContext() {
93         return workloadContext;
94     }
95
96     public AuditDistributionNotificationBuilder setWorkloadContext(String workloadContext) {
97         this.workloadContext = workloadContext;
98         return this;
99     }
100
101     public String getTenant() {
102         return tenant;
103     }
104
105     public AuditDistributionNotificationBuilder setTenant(String tenant) {
106         this.tenant = tenant;
107         return this;
108     }
109 }