2 * ============LICENSE_START======================================================================
3 * Copyright (C) 2018-2019 Nordix Foundation. All rights reserved.
4 * Modifications copyright (C) 2021 Nokia. All rights reserved.
5 * ===============================================================================================
6 * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
7 * in compliance with the License. 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 distributed under the License
12 * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
13 * or implied. See the License for the specific language governing permissions and limitations under
15 * ============LICENSE_END========================================================================
18 package org.onap.dcaegen2.collectors.datafile.commons;
20 import java.util.ArrayList;
21 import java.util.List;
23 import lombok.Builder;
24 import lombok.ToString;
26 import org.apache.hc.core5.http.NameValuePair;
29 * Data about the file server to collect a file from.
30 * In case of http protocol it also contains data required to recreate target
35 public class FileServerData {
37 public String serverAddress;
41 public String password;
45 public List<NameValuePair> queryParameters = new ArrayList<>();
48 public String uriRawFragment = "";