Class DatadogAPIKeyUpdate

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

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

  • Constructor Details

    • DatadogAPIKeyUpdate

      public DatadogAPIKeyUpdate()
    • DatadogAPIKeyUpdate

      public DatadogAPIKeyUpdate(DatadogAPIKeyType type)
  • Method Details

    • apiKey

      public DatadogAPIKeyUpdate apiKey(String apiKey)
    • getApiKey

      @Nullable public String getApiKey()
      The DatadogAPIKeyUpdate api_key.
      Returns:
      apiKey
    • setApiKey

      public void setApiKey(String apiKey)
    • appKey

      public DatadogAPIKeyUpdate appKey(String appKey)
    • getAppKey

      @Nullable public String getAppKey()
      The DatadogAPIKeyUpdate app_key.
      Returns:
      appKey
    • setAppKey

      public void setAppKey(String appKey)
    • datacenter

      public DatadogAPIKeyUpdate datacenter(String datacenter)
    • getDatacenter

      @Nullable public String getDatacenter()
      The DatadogAPIKeyUpdate datacenter.
      Returns:
      datacenter
    • setDatacenter

      public void setDatacenter(String datacenter)
    • subdomain

      public DatadogAPIKeyUpdate 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

    • getType

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

      public void setType(DatadogAPIKeyType type)
    • putAdditionalProperty

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