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
9 * http://www.apache.org/licenses/LICENSE-2.0
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.
17 * SPDX-License-Identifier: Apache-2.0
18 * ============LICENSE_END=========================================================
20 package org.openecomp.sdc.be.components.distribution.engine;
22 import org.openecomp.sdc.be.model.Service;
23 import org.openecomp.sdc.be.model.User;
25 public class AuditDistributionNotificationBuilder {
27 private String topicName;
28 private String distributionId;
29 private CambriaErrorResponse status;
30 private Service service;
32 private User modifier;
33 private String workloadContext;
34 private String tenant;
36 public AuditDistributionNotificationBuilder() {}
38 public String getTopicName() {
42 public AuditDistributionNotificationBuilder setTopicName(String topicName) {
43 this.topicName = topicName;
47 public String getDistributionId() {
48 return distributionId;
51 public AuditDistributionNotificationBuilder setDistributionId(String distributionId) {
52 this.distributionId = distributionId;
56 public CambriaErrorResponse getStatus() {
60 public AuditDistributionNotificationBuilder setStatus(CambriaErrorResponse status) {
65 public Service getService() {
69 public AuditDistributionNotificationBuilder setService(Service service) {
70 this.service = service;
74 public String getEnvId() {
78 public AuditDistributionNotificationBuilder setEnvId(String envId) {
83 public User getModifier() {
87 public AuditDistributionNotificationBuilder setModifier(User modifier) {
88 this.modifier = modifier;
92 public String getWorkloadContext() {
93 return workloadContext;
96 public AuditDistributionNotificationBuilder setWorkloadContext(String workloadContext) {
97 this.workloadContext = workloadContext;
101 public String getTenant() {
105 public AuditDistributionNotificationBuilder setTenant(String tenant) {
106 this.tenant = tenant;