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:
- 3.0
- Author:
- Frank Giordano
-
-
Constructor Summary
Constructors Constructor Description SshConnection(String host, int port, String user, String password)
SshConnection constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
Equals method.String
getHost()
Retrieve host specifiedString
getPassword()
Retrieve password specifiedint
getPort()
Retrieve port number specifiedString
getUser()
Retrieve username specifiedint
hashCode()
Hashcode method.String
toString()
Return string value representing SshConnection object
-
-
-
Constructor Detail
-
SshConnection
public SshConnection(String host, int port, String user, String password)
SshConnection 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
-
toString
public String toString()
Return string value representing SshConnection object
-
equals
public boolean equals(Object obj)
Equals method. Use all members for equality.
-
-