Class DomainAllowlistAttributes

java.lang.Object
com.datadog.api.client.v2.model.DomainAllowlistAttributes

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class DomainAllowlistAttributes extends Object
The details of the email domain allowlist.
  • Field Details

  • Constructor Details

    • DomainAllowlistAttributes

      public DomainAllowlistAttributes()
  • Method Details

    • domains

      public DomainAllowlistAttributes domains(List<String> domains)
    • addDomainsItem

      public DomainAllowlistAttributes addDomainsItem(String domainsItem)
    • getDomains

      @Nullable public List<String> getDomains()
      The list of domains in the email domain allowlist.
      Returns:
      domains
    • setDomains

      public void setDomains(List<String> domains)
    • enabled

      public DomainAllowlistAttributes enabled(Boolean enabled)
    • getEnabled

      @Nullable public Boolean getEnabled()
      Whether the email domain allowlist is enabled for the org.
      Returns:
      enabled
    • setEnabled

      public void setEnabled(Boolean enabled)
    • putAdditionalProperty

      public DomainAllowlistAttributes putAdditionalProperty(String key, Object value)
      Set the additional (undeclared) property with the specified name and value. If the property does not already exist, create it otherwise replace it.
      Parameters:
      key - The arbitrary key to set
      value - The associated value
      Returns:
      DomainAllowlistAttributes
    • getAdditionalProperties

      public Map<String,Object> getAdditionalProperties()
      Return the additional (undeclared) property.
      Returns:
      The additional properties
    • getAdditionalProperty

      public Object getAdditionalProperty(String key)
      Return the additional (undeclared) property with the specified name.
      Parameters:
      key - The arbitrary key to get
      Returns:
      The specific additional property for the given key
    • equals

      public boolean equals(Object o)
      Return true if this DomainAllowlistAttributes object is equal to o.
      Overrides:
      equals in class Object
    • hashCode

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

      public String toString()
      Overrides:
      toString in class Object