## Uses of Class
com.amazon.redshift.util.HostSpec

Packages that use HostSpec
com.amazon.redshift
com.amazon.redshift.core
com.amazon.redshift.core.v3
com.amazon.redshift.hostchooser
com.amazon.redshift.jdbc

### Uses of HostSpec in com.amazon.redshift

Methods in com.amazon.redshift that return HostSpec
`static HostSpec[]` Driver.`hostSpecs(Properties props)`

### Uses of HostSpec in com.amazon.redshift.core

Methods in com.amazon.redshift.core that return HostSpec
`HostSpec` QueryExecutorBase.`getHostSpec()`
`HostSpec` QueryExecutor.`getHostSpec()`
`HostSpec` RedshiftStream.`getHostSpec()`

Methods in com.amazon.redshift.core with parameters of type HostSpec
`static QueryExecutor` ConnectionFactory.`openConnection(HostSpec[] hostSpecs, String user, String database, Properties info, RedshiftLogger logger)` Establishes and initializes a new connection.
`abstract QueryExecutor` ConnectionFactory.`openConnectionImpl(HostSpec[] hostSpecs, String user, String database, Properties info, RedshiftLogger logger)` Implementation of `ConnectionFactory.openConnection(com.amazon.redshift.util.HostSpec[], java.lang.String, java.lang.String, java.util.Properties, com.amazon.redshift.logger.RedshiftLogger)` for a particular protocol version.

Constructors in com.amazon.redshift.core with parameters of type HostSpec
Constructor and Description
`RedshiftStream(SocketFactory socketFactory, HostSpec hostSpec, int timeout, RedshiftLogger logger, boolean disableCompressionForSSL, Properties info)` Constructor: Connect to the Redshift back end and return a stream connection.
`RedshiftStream(SocketFactory socketFactory, HostSpec hostSpec, RedshiftLogger logger, Properties info)` Deprecated. use `RedshiftStream(SocketFactory, com.amazon.redshift.util.HostSpec, int, RedshiftLogger, boolean, Properties)`

### Uses of HostSpec in com.amazon.redshift.core.v3

Methods in com.amazon.redshift.core.v3 with parameters of type HostSpec
`RedshiftStream` ConnectionFactoryImpl.`constructNewStream(SocketFactory socketFactory, HostSpec hostSpec, int connectTimeout, RedshiftLogger logger, Boolean disableCompressionForSSL, Properties info)`
`QueryExecutor` ConnectionFactoryImpl.`openConnectionImpl(HostSpec[] hostSpecs, String user, String database, Properties info, RedshiftLogger logger)`

### Uses of HostSpec in com.amazon.redshift.hostchooser

Fields in com.amazon.redshift.hostchooser declared as HostSpec
`HostSpec` CandidateHost.`hostSpec`

Methods in com.amazon.redshift.hostchooser with parameters of type HostSpec
`static HostChooser` HostChooserFactory.`createHostChooser(HostSpec[] hostSpecs, HostRequirement targetServerType, Properties info)`
`static void` GlobalHostStatusTracker.`reportHostStatus(HostSpec hostSpec, HostStatus hostStatus)` Store the actual observed host status.

Constructors in com.amazon.redshift.hostchooser with parameters of type HostSpec
Constructor and Description
`CandidateHost(HostSpec hostSpec, HostRequirement targetServerType)`

### Uses of HostSpec in com.amazon.redshift.jdbc

Constructors in com.amazon.redshift.jdbc with parameters of type HostSpec
Constructor and Description
`RedshiftConnectionImpl(HostSpec[] hostSpecs, String user, String database, RedshiftProperties info, String url, RedshiftLogger logger)`