8a37d7bb2e403b04188b3781babcc987d20a0a3d
[appc.git] /
1 /*-
2  * ============LICENSE_START=======================================================
3  * APPC
4  * ================================================================================
5  * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
6  * Copyright (C) 2017 Amdocs
7  * ================================================================================
8  * Licensed under the Apache License, Version 2.0 (the "License");
9  * you may not use this file except in compliance with the License.
10  * You may obtain a copy of the License at
11  * 
12  *      http://www.apache.org/licenses/LICENSE-2.0
13  * 
14  * Unless required by applicable law or agreed to in writing, software
15  * distributed under the License is distributed on an "AS IS" BASIS,
16  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17  * See the License for the specific language governing permissions and
18  * limitations under the License.
19  * ============LICENSE_END=========================================================
20  * ECOMP is a trademark and service mark of AT&T Intellectual Property.
21  */
22
23 package org.openecomp.appc.adapter.ssh;
24
25 /**
26  * Provides details required for connecting to device.
27  */
28 public class SshConnectionDetails {
29
30     private static int DEFAULT_PORT = 22;
31
32     private String host;
33     private int port = DEFAULT_PORT;
34     private String username;
35     private String password;
36
37     public SshConnectionDetails() {
38     }
39
40     public String getHost() {
41         return host;
42     }
43
44     public void setHost(String host) {
45         this.host = host;
46     }
47
48     public int getPort() {
49         return port;
50     }
51
52     public void setPort(int port) {
53         this.port = port;
54     }
55
56     public String getUsername() {
57         return username;
58     }
59
60     public void setUsername(String username) {
61         this.username = username;
62     }
63
64     public String getPassword() {
65         return password;
66     }
67
68     public void setPassword(String password) {
69         this.password = password;
70     }
71
72
73 }