2 * ============LICENSE_START=======================================================
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
11 * http://www.apache.org/licenses/LICENSE-2.0
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=========================================================
21 package org.onap.so.serviceinstancebeans;
23 import java.io.Serializable;
25 import org.onap.so.constants.Defaults;
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;
33 @JsonRootName(value = "cloudConfiguration")
34 @JsonInclude(Include.NON_EMPTY)
35 public class CloudConfiguration implements Serializable {
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;
48 * Gets the value of the aicNodeClli property.
55 public String getAicNodeClli() {
60 * Sets the value of the aicNodeClli property.
67 public void setAicNodeClli(String value) {
68 this.aicNodeClli = value;
72 * Gets the value of the tenantId property.
79 public String getTenantId() {
84 * Sets the value of the tenantId property.
91 public void setTenantId(String value) {
92 this.tenantId = value;
96 public String getLcpCloudRegionId() {
97 return lcpCloudRegionId;
100 public void setLcpCloudRegionId(String lcpCloudRegionId) {
101 this.lcpCloudRegionId = lcpCloudRegionId;
104 public String getCloudOwner() {
108 public void setCloudOwner(String cloudOwner) {
109 this.cloudOwner = cloudOwner;
113 public String toString() {
114 return new ToStringBuilder(this).append("aicNodeClli", getAicNodeClli()).append("tenantId", getTenantId())
115 .append("cloudOwner", getCloudOwner()).append("lcpCloudRegionId", getLcpCloudRegionId()).toString();