Class Memsql

java.lang.Object
com.strongdm.api.Memsql
All Implemented Interfaces:
Resource

public class Memsql extends Object implements Resource
  • Constructor Details

    • Memsql

      public Memsql()
  • Method Details

    • getBindInterface

      public String 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 interface Resource
    • setBindInterface

      public void setBindInterface(String in)
      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 interface Resource
    • getDatabase

      public String getDatabase()
      The database for healthchecks. Does not affect client requests.
    • setDatabase

      public void setDatabase(String in)
      The database for healthchecks. Does not affect client requests.
    • getEgressFilter

      public String getEgressFilter()
      A filter applied to the routing logic to pin datasource to nodes.
      Specified by:
      getEgressFilter in interface Resource
    • setEgressFilter

      public void setEgressFilter(String in)
      A filter applied to the routing logic to pin datasource to nodes.
      Specified by:
      setEgressFilter in interface Resource
    • 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

      public String getHostname()
      The host to dial to initiate a connection from the egress node to this resource.
    • setHostname

      public void setHostname(String in)
      The host to dial to initiate a connection from the egress node to this resource.
    • getId

      public String getId()
      Unique identifier of the Resource.
      Specified by:
      getId in interface Resource
    • setId

      public void setId(String in)
      Unique identifier of the Resource.
    • getName

      public String getName()
      Unique human-readable name of the Resource.
      Specified by:
      getName in interface Resource
    • setName

      public void setName(String in)
      Unique human-readable name of the Resource.
      Specified by:
      setName in interface Resource
    • getPassword

      public String getPassword()
      The password to authenticate with.
    • setPassword

      public void setPassword(String in)
      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.
    • 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

      public String getSecretStoreId()
      ID of the secret store containing credentials for this resource, if any.
      Specified by:
      getSecretStoreId in interface Resource
    • setSecretStoreId

      public void setSecretStoreId(String in)
      ID of the secret store containing credentials for this resource, if any.
      Specified by:
      setSecretStoreId in interface Resource
    • getSubdomain

      public String getSubdomain()
      Subdomain is the local DNS address. (e.g. app-prod1 turns into app-prod1.your-org-name.sdm.network)
    • setSubdomain

      public void setSubdomain(String in)
      Subdomain is the local DNS address. (e.g. app-prod1 turns into app-prod1.your-org-name.sdm.network)
    • getTags

      public Map<String,String> getTags()
      Tags is a map of key, value pairs.
      Specified by:
      getTags in interface Resource
    • setTags

      public void setTags(Map<String,String> in)
      Tags is a map of key, value pairs.
      Specified by:
      setTags in interface Resource
    • 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

      public String getUsername()
      The username to authenticate with.
    • setUsername

      public void setUsername(String in)
      The username to authenticate with.