Class DatadogAPIKey

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

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class DatadogAPIKey extends Object
The definition of the DatadogAPIKey object.
  • Field Details

  • Constructor Details

  • Method Details

    • apiKey

      public DatadogAPIKey apiKey(String apiKey)
    • getApiKey

      public String getApiKey()
      The DatadogAPIKey api_key.
      Returns:
      apiKey
    • setApiKey

      public void setApiKey(String apiKey)
    • appKey

      public DatadogAPIKey appKey(String appKey)
    • getAppKey

      public String getAppKey()
      The DatadogAPIKey app_key.
      Returns:
      appKey
    • setAppKey

      public void setAppKey(String appKey)
    • datacenter

      public DatadogAPIKey datacenter(String datacenter)
    • getDatacenter

      public String getDatacenter()
      The DatadogAPIKey datacenter.
      Returns:
      datacenter
    • setDatacenter

      public void setDatacenter(String datacenter)
    • subdomain

      public DatadogAPIKey subdomain(String subdomain)
    • getSubdomain

      @Nullable public String getSubdomain()
      Custom subdomain used for Datadog URLs generated with this Connection. For example, if this org uses https://acme.datadoghq.com to access Datadog, set this field to acme . If this field is omitted, generated URLs will use the default site URL for its datacenter (see https://docs.datadoghq.com/getting_started/site).
      Returns:
      subdomain
    • setSubdomain

      public void setSubdomain(String subdomain)
    • type

      public DatadogAPIKey type(DatadogAPIKeyType type)
    • getType

      public DatadogAPIKeyType getType()
      The definition of the DatadogAPIKey object.
      Returns:
      type
    • setType

      public void setType(DatadogAPIKeyType type)
    • putAdditionalProperty

      public DatadogAPIKey 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:
      DatadogAPIKey
    • 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 DatadogAPIKey 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