Class DeviceRemoteManagementOperations.SSHConnectionDetails
java.lang.Object
de.iip_ecosphere.platform.deviceMgt.DeviceRemoteManagementOperations.SSHConnectionDetails
- Enclosing interface:
DeviceRemoteManagementOperations
SSHConnectionDetails provide information about the connection to the remote site.
It provides the host and port in combination with a basic auth flow.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor, required for JSON.SSHConnectionDetails(String host, Integer port, String username, String password) All args constructor. -
Method Summary
Modifier and TypeMethodDescriptionbooleangetHost()Get the host address.Get the password.getPort()Get the host port.Get the username.inthashCode()voidSet the host address.voidsetPassword(String password) Set the password.voidSet the host port.voidsetUsername(String username) Set the username.
-
Field Details
-
host
-
port
-
username
-
password
-
-
Constructor Details
-
SSHConnectionDetails
public SSHConnectionDetails()Default constructor, required for JSON. -
SSHConnectionDetails
All args constructor.- Parameters:
host- the hostport- the portusername- the usernamepassword- the password
-
-
Method Details
-
getHost
Get the host address.- Returns:
- the host
-
setHost
Set the host address.- Parameters:
host- the host
-
getPort
Get the host port.- Returns:
- the port
-
setPort
Set the host port.- Parameters:
port- the port
-
getUsername
Get the username.- Returns:
- the username
-
setUsername
Set the username.- Parameters:
username- the username
-
getPassword
Get the password.- Returns:
- the password
-
setPassword
Set the password.- Parameters:
password- the password
-
equals
-
hashCode
public int hashCode()
-