Package net.snowflake.client.core
Class PrivateLinkDetector
- java.lang.Object
-
- net.snowflake.client.core.PrivateLinkDetector
-
@SnowflakeJdbcInternalApi public class PrivateLinkDetector extends Object
-
-
Constructor Summary
Constructors Constructor Description PrivateLinkDetector()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
isPrivateLink(String host)
We can only tell if private link is enabled for certain hosts when the hostname contains the word 'privatelink' but we don't have a good way of telling if a private link connection is expected for internal stages for example.
-
-
-
Method Detail
-
isPrivateLink
public static boolean isPrivateLink(String host)
We can only tell if private link is enabled for certain hosts when the hostname contains the word 'privatelink' but we don't have a good way of telling if a private link connection is expected for internal stages for example.- Parameters:
host
- host- Returns:
- true if host is considered as privatelink environment
-
-