Class DeviceRemoteManagementOperations.SSHConnectionDetails

java.lang.Object
de.iip_ecosphere.platform.deviceMgt.DeviceRemoteManagementOperations.SSHConnectionDetails
Enclosing interface:
DeviceRemoteManagementOperations

public static class DeviceRemoteManagementOperations.SSHConnectionDetails extends Object
SSHConnectionDetails provide information about the connection to the remote site. It provides the host and port in combination with a basic auth flow.
  • Field Details

    • host

      private String host
    • port

      private Integer port
    • username

      private String username
    • password

      private String password
  • Constructor Details

    • SSHConnectionDetails

      public SSHConnectionDetails()
      Default constructor, required for JSON.
    • SSHConnectionDetails

      public SSHConnectionDetails(String host, Integer port, String username, String password)
      All args constructor.
      Parameters:
      host - the host
      port - the port
      username - the username
      password - the password
  • Method Details

    • getHost

      public String getHost()
      Get the host address.
      Returns:
      the host
    • setHost

      public void setHost(String host)
      Set the host address.
      Parameters:
      host - the host
    • getPort

      public Integer getPort()
      Get the host port.
      Returns:
      the port
    • setPort

      public void setPort(Integer port)
      Set the host port.
      Parameters:
      port - the port
    • getUsername

      public String getUsername()
      Get the username.
      Returns:
      the username
    • setUsername

      public void setUsername(String username)
      Set the username.
      Parameters:
      username - the username
    • getPassword

      public String getPassword()
      Get the password.
      Returns:
      the password
    • setPassword

      public void setPassword(String password)
      Set the password.
      Parameters:
      password - the password
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object