Package com.strongdm.api
Class Memsql
java.lang.Object
com.strongdm.api.Memsql
- All Implemented Interfaces:
Resource
-
Constructor Summary
-
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 database for healthchecks.A filter applied to the routing logic to pin datasource to nodes.boolean
True if the datasource is reachable and the credentials are valid.The host to dial to initiate a connection from the egress node to this resource.getId()
Unique identifier of the Resource.getName()
Unique human-readable name of the Resource.The password to authenticate with.int
getPort()
The port to dial to initiate a connection from the egress node to this resource.int
The local port used by clients to connect to this resource.ID of the proxy cluster for this resource, if any.boolean
Whether native auth (mysql_native_password) is used for all connections (for backwards compatibility)ID of the secret store containing credentials for this resource, if any.Subdomain is the local DNS address.getTags()
Tags is a map of key, value pairs.boolean
If true, appends the hostname to the username when hitting a database.azure.com addressThe username to authenticate with.void
The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1).void
setDatabase
(String in) The database for healthchecks.void
A filter applied to the routing logic to pin datasource to nodes.void
setHealthy
(boolean in) True if the datasource is reachable and the credentials are valid.void
setHostname
(String in) The host to dial to initiate a connection from the egress node to this resource.void
Unique identifier of the Resource.void
Unique human-readable name of the Resource.void
setPassword
(String in) The password to authenticate with.void
setPort
(int in) The port to dial to initiate a connection from the egress node to this resource.void
setPortOverride
(int in) The local port used by clients to connect to this resource.void
ID of the proxy cluster for this resource, if any.void
setRequireNativeAuth
(boolean in) Whether native auth (mysql_native_password) is used for all connections (for backwards compatibility)void
ID of the secret store containing credentials for this resource, if any.void
setSubdomain
(String in) Subdomain is the local DNS address.void
Tags is a map of key, value pairs.void
setUseAzureSingleServerUsernames
(boolean in) If true, appends the hostname to the username when hitting a database.azure.com addressvoid
setUsername
(String in) The username to authenticate with.
-
Constructor Details
-
Memsql
public Memsql()
-
-
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.- Specified by:
getBindInterface
in 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.- Specified by:
setBindInterface
in interfaceResource
-
getDatabase
The database for healthchecks. Does not affect client requests. -
setDatabase
The database for healthchecks. Does not affect client requests. -
getEgressFilter
A filter applied to the routing logic to pin datasource to nodes.- Specified by:
getEgressFilter
in interfaceResource
-
setEgressFilter
A filter applied to the routing logic to pin datasource to nodes.- Specified by:
setEgressFilter
in 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. -
getHostname
The host to dial to initiate a connection from the egress node to this resource. -
setHostname
The host to dial to initiate a connection from the egress node to this resource. -
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. -
getPort
public int getPort()The port to dial to initiate a connection from the egress node to this resource. -
setPort
public void setPort(int in) The port to dial to initiate a connection from the egress node to this resource. -
getPortOverride
public int getPortOverride()The local port used by clients to connect to this resource. -
setPortOverride
public void setPortOverride(int in) The local port used by clients to connect to this resource. -
getProxyClusterId
ID of the proxy cluster for this resource, if any. -
setProxyClusterId
ID of the proxy cluster for this resource, if any. -
getRequireNativeAuth
public boolean getRequireNativeAuth()Whether native auth (mysql_native_password) is used for all connections (for backwards compatibility) -
setRequireNativeAuth
public void setRequireNativeAuth(boolean in) Whether native auth (mysql_native_password) is used for all connections (for backwards compatibility) -
getSecretStoreId
ID of the secret store containing credentials for this resource, if any.- Specified by:
getSecretStoreId
in interfaceResource
-
setSecretStoreId
ID of the secret store containing credentials for this resource, if any.- Specified by:
setSecretStoreId
in interfaceResource
-
getSubdomain
Subdomain is the local DNS address. (e.g. app-prod1 turns into app-prod1.your-org-name.sdm.network) -
setSubdomain
Subdomain is the local DNS address. (e.g. app-prod1 turns into app-prod1.your-org-name.sdm.network) -
getTags
Tags is a map of key, value pairs. -
setTags
Tags is a map of key, value pairs. -
getUseAzureSingleServerUsernames
public boolean getUseAzureSingleServerUsernames()If true, appends the hostname to the username when hitting a database.azure.com address -
setUseAzureSingleServerUsernames
public void setUseAzureSingleServerUsernames(boolean in) If true, appends the hostname to the username when hitting a database.azure.com address -
getUsername
The username to authenticate with. -
setUsername
The username to authenticate with.
-