67d852eff84fcd7134040f5d4f473f18fbb7a58d
[so.git] / common / src / main / java / org / onap / so / serviceinstancebeans / CloudConfiguration.java
1 /*-
2  * ============LICENSE_START=======================================================
3  * ONAP - SO
4  * ================================================================================
5  * Copyright (C) 2017 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.serviceinstancebeans;
22
23 import java.io.Serializable;
24
25 import org.onap.so.constants.Defaults;
26
27 import com.fasterxml.jackson.annotation.JsonInclude;
28 import com.fasterxml.jackson.annotation.JsonInclude.Include;
29 import com.fasterxml.jackson.annotation.JsonProperty;
30 import com.fasterxml.jackson.annotation.JsonRootName;
31 import org.apache.commons.lang3.builder.ToStringBuilder;
32
33 @JsonRootName(value = "cloudConfiguration")
34 @JsonInclude(Include.NON_EMPTY)
35 public class CloudConfiguration implements Serializable {
36
37         private static final long serialVersionUID = 6260165690180745471L;
38         @JsonProperty("aicNodeClli")
39     protected String aicNodeClli;
40         @JsonProperty("tenantId")
41     protected String tenantId;
42         @JsonProperty("cloudOwner")
43         protected String cloudOwner = Defaults.CLOUD_OWNER.toString();
44         @JsonProperty("lcpCloudRegionId")
45     protected String lcpCloudRegionId;
46
47     /**
48      * Gets the value of the aicNodeClli property.
49      *
50      * @return
51      *     possible object is
52      *     {@link String }
53      *
54      */
55     public String getAicNodeClli() {
56         return aicNodeClli;
57     }
58
59     /**
60      * Sets the value of the aicNodeClli property.
61      *
62      * @param value
63      *     allowed object is
64      *     {@link String }
65      *
66      */
67     public void setAicNodeClli(String value) {
68         this.aicNodeClli = value;
69     }
70
71     /**
72      * Gets the value of the tenantId property.
73      *
74      * @return
75      *     possible object is
76      *     {@link String }
77      *
78      */
79     public String getTenantId() {
80         return tenantId;
81     }
82
83     /**
84      * Sets the value of the tenantId property.
85      *
86      * @param value
87      *     allowed object is
88      *     {@link String }
89      *
90      */
91     public void setTenantId(String value) {
92         this.tenantId = value;
93     }
94
95
96         public String getLcpCloudRegionId() {
97                 return lcpCloudRegionId;
98         }
99
100         public void setLcpCloudRegionId(String lcpCloudRegionId) {
101                 this.lcpCloudRegionId = lcpCloudRegionId;
102         }
103
104         public String getCloudOwner() {
105                 return cloudOwner;
106         }
107
108         public void setCloudOwner(String cloudOwner) {
109                 this.cloudOwner = cloudOwner;
110         }
111
112         @Override
113         public String toString() {
114                 return new ToStringBuilder(this).append("aicNodeClli", getAicNodeClli()).append("tenantId", getTenantId())
115                                 .append("cloudOwner", getCloudOwner()).append("lcpCloudRegionId", getLcpCloudRegionId()).toString();
116         }
117         
118         
119 }