2 * Copyright (C) 2019 Verizon. All Rights Reserved Licensed under the Apache License, Version 2.0 (the "License"); you
3 * may not use this file except in compliance with the License. You may obtain a copy of the License at
5 * http://www.apache.org/licenses/LICENSE-2.0
7 * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on
8 * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
9 * specific language governing permissions and limitations under the License.
12 package org.onap.so.adapters.vfc.model;
14 import java.util.List;
16 public class AffinityOrAntiAffinityRule {
17 private String vnfdId;
18 private List<String> vnfProfileId;
19 private List<String> vnfInstanceId;
21 private enum affinityOrAntiAffiinty {
22 AFFINITY, ANTI_AFFIINTY
25 NFVI_POP, ZONE, ZONE_GROUP, NFVI_NODE
28 public String getVnfdId() {
32 public void setVnfdId(String vnfdId) {
36 public List<String> getVnfProfileId() {
40 public void setVnfProfileId(List<String> vnfProfileId) {
41 this.vnfProfileId = vnfProfileId;
44 public List<String> getVnfInstanceId() {
48 public void setVnfInstanceId(List<String> vnfInstanceId) {
49 this.vnfInstanceId = vnfInstanceId;