Class AllowedHosts

java.lang.Object
io.airbyte.configoss.AllowedHosts
All Implemented Interfaces:
Serializable

public class AllowedHosts extends Object implements Serializable
AllowedHosts

A connector's allowed hosts. If present, the platform will limit communication to only hosts which are listed in `AllowedHosts.hosts`.

See Also:
  • Constructor Details

    • AllowedHosts

      public AllowedHosts()
  • Method Details

    • getHosts

      public List<String> getHosts()
      An array of hosts that this connector can connect to. AllowedHosts not being present for the source or destination means that access to all hosts is allowed. An empty list here means that no network access is granted.
    • setHosts

      public void setHosts(List<String> hosts)
      An array of hosts that this connector can connect to. AllowedHosts not being present for the source or destination means that access to all hosts is allowed. An empty list here means that no network access is granted.
    • withHosts

      public AllowedHosts withHosts(List<String> hosts)
    • getAdditionalProperties

      public Map<String,Object> getAdditionalProperties()
    • setAdditionalProperty

      public void setAdditionalProperty(String name, Object value)
    • withAdditionalProperty

      public AllowedHosts withAdditionalProperty(String name, Object value)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object other)
      Overrides:
      equals in class Object