Class ConfluentAccountResourceAttributes

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

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class ConfluentAccountResourceAttributes extends Object
Attributes object for updating a Confluent resource.
  • Field Details

  • Constructor Details

    • ConfluentAccountResourceAttributes

      public ConfluentAccountResourceAttributes()
    • ConfluentAccountResourceAttributes

      public ConfluentAccountResourceAttributes(String resourceType)
  • Method Details

    • enableCustomMetrics

      public ConfluentAccountResourceAttributes enableCustomMetrics(Boolean enableCustomMetrics)
    • getEnableCustomMetrics

      @Nullable public Boolean getEnableCustomMetrics()
      Enable the custom.consumer_lag_offset metric, which contains extra metric tags.
      Returns:
      enableCustomMetrics
    • setEnableCustomMetrics

      public void setEnableCustomMetrics(Boolean enableCustomMetrics)
    • id

    • getId

      @Nullable public String getId()
      The ID associated with a Confluent resource.
      Returns:
      id
    • setId

      public void setId(String id)
    • resourceType

      public ConfluentAccountResourceAttributes resourceType(String resourceType)
    • getResourceType

      public String getResourceType()
      The resource type of the Resource. Can be kafka, connector, ksql, or schema_registry.
      Returns:
      resourceType
    • setResourceType

      public void setResourceType(String resourceType)
    • tags

    • addTagsItem

      public ConfluentAccountResourceAttributes addTagsItem(String tagsItem)
    • getTags

      @Nullable public List<String> getTags()
      A list of strings representing tags. Can be a single key, or key-value pairs separated by a colon.
      Returns:
      tags
    • setTags

      public void setTags(List<String> tags)
    • putAdditionalProperty

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