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 String getTopicName() {
40 public AuditDistributionNotificationBuilder setTopicName(String topicName) {
41 this.topicName = topicName;
45 public String getDistributionId() {
46 return distributionId;
49 public AuditDistributionNotificationBuilder setDistributionId(String distributionId) {
50 this.distributionId = distributionId;
54 public CambriaErrorResponse getStatus() {
58 public AuditDistributionNotificationBuilder setStatus(CambriaErrorResponse status) {
63 public Service getService() {
67 public AuditDistributionNotificationBuilder setService(Service service) {
68 this.service = service;
72 public String getEnvId() {
76 public AuditDistributionNotificationBuilder setEnvId(String envId) {
81 public User getModifier() {
85 public AuditDistributionNotificationBuilder setModifier(User modifier) {
86 this.modifier = modifier;
90 public String getWorkloadContext() {
91 return workloadContext;
94 public AuditDistributionNotificationBuilder setWorkloadContext(String workloadContext) {
95 this.workloadContext = workloadContext;
99 public String getTenant() {
103 public AuditDistributionNotificationBuilder setTenant(String tenant) {
104 this.tenant = tenant;