Class ConnectionDetails
- java.lang.Object
-
- com.exasol.exasoltestsetup.standalone.ConnectionDetails
-
public class ConnectionDetails extends Object
This class stores connection details for an Exasol database.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classConnectionDetails.BuilderBuilder to buildConnectionDetails.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ConnectionDetails.Builderbuilder()Creates builder to buildConnectionDetails.booleanequals(Object obj)com.exasol.exasoltestsetup.standalone.CredentialsgetAdminCredentials()Get the credentials for connecting to the admin interface.com.exasol.exasoltestsetup.standalone.CredentialsgetDatabaseCredentials()Get the credentials for connecting to the database.StringgetDataNodeAddress()Get the address of the data node.StringgetManagementNodeAddress()Get the address of the management node.PathgetPathToSshKey()Get the path to the private SSH key.intgetSshPort()Get the port for connecting via SSH.inthashCode()StringtoString()
-
-
-
Method Detail
-
getManagementNodeAddress
public String getManagementNodeAddress()
Get the address of the management node.- Returns:
- management node address
-
getDataNodeAddress
public String getDataNodeAddress()
Get the address of the data node.- Returns:
- data node address
-
getDatabaseCredentials
public com.exasol.exasoltestsetup.standalone.Credentials getDatabaseCredentials()
Get the credentials for connecting to the database.- Returns:
- database credentials
-
getAdminCredentials
public com.exasol.exasoltestsetup.standalone.Credentials getAdminCredentials()
Get the credentials for connecting to the admin interface.- Returns:
- admin credentials
-
getSshPort
public int getSshPort()
Get the port for connecting via SSH.- Returns:
- SSH port
-
getPathToSshKey
public Path getPathToSshKey()
Get the path to the private SSH key.- Returns:
- path to the private SSH key
-
builder
public static ConnectionDetails.Builder builder()
Creates builder to buildConnectionDetails.- Returns:
- created builder
-
-