Package zowe.client.sdk.core
Class SshConnection
- java.lang.Object
-
- zowe.client.sdk.core.SshConnection
-
public class SshConnection extends Object
SSH Connection information placeholder- Version:
- 2.0
- Author:
- Frank Giordano
-
-
Constructor Summary
Constructors Constructor Description SshConnection(String host, int port, String user, String password)ZOSConnection constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetHost()Retrieve host specifiedStringgetPassword()Retrieve password specifiedintgetPort()Retrieve port number specifiedStringgetUser()Retrieve username specifiedStringtoString()Return string value representing SshConnection object
-
-
-
Constructor Detail
-
SshConnection
public SshConnection(String host, int port, String user, String password)
ZOSConnection constructor- Parameters:
host- machine host pointing to backend z/OS instanceport- machine host port number pointing to backend z/OS instanceuser- machine host username with access to backend z/OS instancepassword- machine host username's password with access to backend z/OS instance
-
-
Method Detail
-
getHost
public String getHost()
Retrieve host specified- Returns:
- host value
-
getPort
public int getPort()
Retrieve port number specified- Returns:
- port value
-
getUser
public String getUser()
Retrieve username specified- Returns:
- user value
-
getPassword
public String getPassword()
Retrieve password specified- Returns:
- password value
-
-