com.amazon.redshift.hostchooser.CandidateHost Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of redshift-jdbc42 Show documentation
Show all versions of redshift-jdbc42 Show documentation
Java JDBC 4.2 (JRE 8+) driver for Redshift database
The newest version!
/*
* Copyright (c) 2017, PostgreSQL Global Development Group
* See the LICENSE file in the project root for more information.
*/
package com.amazon.redshift.hostchooser;
import com.amazon.redshift.util.HostSpec;
/**
* Candidate host to be connected.
*/
public class CandidateHost {
public final HostSpec hostSpec;
public final HostRequirement targetServerType;
public CandidateHost(HostSpec hostSpec, HostRequirement targetServerType) {
this.hostSpec = hostSpec;
this.targetServerType = targetServerType;
}
}