Package com.strongdm.api
Class ClickHouseHTTP
java.lang.Object
com.strongdm.api.ClickHouseHTTP
- All Implemented Interfaces:
Resource
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1).The initial database to connect to.A filter applied to the routing logic to pin datasource to nodes.booleanTrue if the datasource is reachable and the credentials are valid.getId()Unique identifier of the Resource.getName()Unique human-readable name of the Resource.The password to authenticate with.intThe local port used by clients to connect to this resource.ID of the proxy cluster for this resource, if any.ID of the secret store containing credentials for this resource, if any.getTags()Tags is a map of key, value pairs.getUrl()The URL to dial to initiate a connection from the egress node to this resource.The username to authenticate with.voidThe bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1).voidsetDatabase(String in) The initial database to connect to.voidA filter applied to the routing logic to pin datasource to nodes.voidsetHealthy(boolean in) True if the datasource is reachable and the credentials are valid.voidUnique identifier of the Resource.voidUnique human-readable name of the Resource.voidsetPassword(String in) The password to authenticate with.voidsetPortOverride(int in) The local port used by clients to connect to this resource.voidID of the proxy cluster for this resource, if any.voidID of the secret store containing credentials for this resource, if any.voidTags is a map of key, value pairs.voidThe URL to dial to initiate a connection from the egress node to this resource.voidsetUsername(String in) The username to authenticate with.
-
Constructor Details
-
ClickHouseHTTP
public ClickHouseHTTP()
-
-
Method Details
-
getBindInterface
The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1). It is automatically generated if not provided and may also be set to one of the ResourceIPAllocationMode constants to select between VNM, loopback, or default allocation.- Specified by:
getBindInterfacein interfaceResource
-
setBindInterface
The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1). It is automatically generated if not provided and may also be set to one of the ResourceIPAllocationMode constants to select between VNM, loopback, or default allocation.- Specified by:
setBindInterfacein interfaceResource
-
getDatabase
The initial database to connect to. This setting does not by itself prevent switching to another database after connecting. -
setDatabase
The initial database to connect to. This setting does not by itself prevent switching to another database after connecting. -
getEgressFilter
A filter applied to the routing logic to pin datasource to nodes.- Specified by:
getEgressFilterin interfaceResource
-
setEgressFilter
A filter applied to the routing logic to pin datasource to nodes.- Specified by:
setEgressFilterin interfaceResource
-
getHealthy
public boolean getHealthy()True if the datasource is reachable and the credentials are valid. -
setHealthy
public void setHealthy(boolean in) True if the datasource is reachable and the credentials are valid. -
getId
Unique identifier of the Resource. -
setId
Unique identifier of the Resource. -
getName
Unique human-readable name of the Resource. -
setName
Unique human-readable name of the Resource. -
getPassword
The password to authenticate with. -
setPassword
The password to authenticate with. -
getPortOverride
public int getPortOverride()The local port used by clients to connect to this resource. It is automatically generated if not provided on create and may be re-generated on update by specifying a value of -1. -
setPortOverride
public void setPortOverride(int in) The local port used by clients to connect to this resource. It is automatically generated if not provided on create and may be re-generated on update by specifying a value of -1. -
getProxyClusterId
ID of the proxy cluster for this resource, if any. -
setProxyClusterId
ID of the proxy cluster for this resource, if any. -
getSecretStoreId
ID of the secret store containing credentials for this resource, if any.- Specified by:
getSecretStoreIdin interfaceResource
-
setSecretStoreId
ID of the secret store containing credentials for this resource, if any.- Specified by:
setSecretStoreIdin interfaceResource
-
getTags
Tags is a map of key, value pairs. -
setTags
Tags is a map of key, value pairs. -
getUrl
The URL to dial to initiate a connection from the egress node to this resource. -
setUrl
The URL to dial to initiate a connection from the egress node to this resource. -
getUsername
The username to authenticate with. -
setUsername
The username to authenticate with.
-