Replaced all tabs with spaces in java and pom.xml
[so.git] / adapters / mso-adapters-rest-interface / src / main / java / org / onap / so / adapters / vdu / CloudInfo.java
1 /*-
2  * ============LICENSE_START=======================================================
3  * ONAP - SO
4  * ================================================================================
5  * Copyright (C) 2018 AT&T Intellectual Property. All rights reserved.
6  * ================================================================================
7  * Licensed under the Apache License, Version 2.0 (the "License");
8  * you may not use this file except in compliance with the License.
9  * You may obtain a copy of the License at
10  *
11  *      http://www.apache.org/licenses/LICENSE-2.0
12  *
13  * Unless required by applicable law or agreed to in writing, software
14  * distributed under the License is distributed on an "AS IS" BASIS,
15  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16  * See the License for the specific language governing permissions and
17  * limitations under the License.
18  * ============LICENSE_END=========================================================
19  */
20
21 package org.onap.so.adapters.vdu;
22
23 /**
24  * Cloud information structure for deploying/managing a VDU. Includes the cloud site as well as tenant information
25  * within the site. Currently this is defined as a cloud site ID. which would map to a CloudConfig entry. Perhaps the
26  * CloudConfig entry itself should be provided, instead of requiring each plug-in to query it.
27  *
28  * The meaning of 'tenant' may differ by cloud provider, but every cloud supports some sort of tenant partitioning.
29  *
30  */
31 public class CloudInfo {
32
33     private String cloudSiteId;
34     private String cloudOwner;
35     private String tenantId;
36     private String tenantName;// bpmn query and pass
37
38     public CloudInfo() {}
39
40     public CloudInfo(String cloudSiteId, String cloudOwner, String tenantId, String tenantName) {
41         this.cloudSiteId = cloudSiteId;
42         this.cloudOwner = cloudOwner;
43         this.tenantId = tenantId;
44         this.tenantName = tenantName;
45     }
46
47     public String getCloudSiteId() {
48         return cloudSiteId;
49     }
50
51     public void setCloudSiteId(String cloudSiteId) {
52         this.cloudSiteId = cloudSiteId;
53     }
54
55     public String getCloudOwner() {
56         return cloudOwner;
57     }
58
59     public void setCloudOwner(String cloudOwner) {
60         this.cloudOwner = cloudOwner;
61     }
62
63     public String getTenantId() {
64         return tenantId;
65     }
66
67     public void setTenantId(String tenantId) {
68         this.tenantId = tenantId;
69     }
70
71     public String getTenantName() {
72         return tenantName;
73     }
74
75     public void setTenantName(String tenantName) {
76         this.tenantName = tenantName;
77     }
78
79
80 }