Class ProxyCluster

java.lang.Object
com.strongdm.api.ProxyCluster
All Implemented Interfaces:
Node

public class ProxyCluster extends Object implements Node
ProxyCluster represents a cluster of StrongDM proxies.
  • Constructor Details

    • ProxyCluster

      public ProxyCluster()
  • Method Details

    • getAddress

      public String getAddress()
      The public hostname/port tuple at which the proxy cluster will be accessible to clients.
    • setAddress

      public void setAddress(String in)
      The public hostname/port tuple at which the proxy cluster will be accessible to clients.
    • getId

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

      public void setId(String in)
      Unique identifier of the Proxy Cluster.
    • getMaintenanceWindows

      public List<NodeMaintenanceWindow> getMaintenanceWindows()
      Maintenance Windows define when this node is allowed to restart. If a node is requested to restart, it will check each window to determine if any of them permit it to restart, and if any do, it will. This check is repeated per window until the restart is successfully completed. If not set here, may be set on the command line or via an environment variable on the process itself; any server setting will take precedence over local settings. This setting is ineffective for nodes below version 38.44.0. If this setting is not applied via this remote configuration or via local configuration, the default setting is used: always allow restarts if serving no connections, and allow a restart even if serving connections between 7-8 UTC, any day.
    • setMaintenanceWindows

      public void setMaintenanceWindows(List<NodeMaintenanceWindow> in)
      Maintenance Windows define when this node is allowed to restart. If a node is requested to restart, it will check each window to determine if any of them permit it to restart, and if any do, it will. This check is repeated per window until the restart is successfully completed. If not set here, may be set on the command line or via an environment variable on the process itself; any server setting will take precedence over local settings. This setting is ineffective for nodes below version 38.44.0. If this setting is not applied via this remote configuration or via local configuration, the default setting is used: always allow restarts if serving no connections, and allow a restart even if serving connections between 7-8 UTC, any day.
    • getName

      public String getName()
      Unique human-readable name of the proxy cluster. Names must include only letters, numbers, and hyphens (no spaces, underscores, or other special characters). Generated if not provided on create.
      Specified by:
      getName in interface Node
    • setName

      public void setName(String in)
      Unique human-readable name of the proxy cluster. Names must include only letters, numbers, and hyphens (no spaces, underscores, or other special characters). Generated if not provided on create.
      Specified by:
      setName in interface Node
    • getTags

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

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