Class UpdateTenancyConfigDataAttributesMetricsConfig

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

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class UpdateTenancyConfigDataAttributesMetricsConfig extends Object
Metrics collection configuration for updating an OCI tenancy, controlling which compartments and services are included or excluded.
  • Field Details

  • Constructor Details

    • UpdateTenancyConfigDataAttributesMetricsConfig

      public UpdateTenancyConfigDataAttributesMetricsConfig()
  • Method Details

    • compartmentTagFilters

      public UpdateTenancyConfigDataAttributesMetricsConfig compartmentTagFilters(List<String> compartmentTagFilters)
    • addCompartmentTagFiltersItem

      public UpdateTenancyConfigDataAttributesMetricsConfig addCompartmentTagFiltersItem(String compartmentTagFiltersItem)
    • getCompartmentTagFilters

      @Nullable public List<String> getCompartmentTagFilters()
      List of compartment tag filters to scope metrics collection to specific compartments.
      Returns:
      compartmentTagFilters
    • setCompartmentTagFilters

      public void setCompartmentTagFilters(List<String> compartmentTagFilters)
    • enabled

    • getEnabled

      @Nullable public Boolean getEnabled()
      Whether metrics collection is enabled for the tenancy.
      Returns:
      enabled
    • setEnabled

      public void setEnabled(Boolean enabled)
    • excludedServices

      public UpdateTenancyConfigDataAttributesMetricsConfig excludedServices(List<String> excludedServices)
    • addExcludedServicesItem

      public UpdateTenancyConfigDataAttributesMetricsConfig addExcludedServicesItem(String excludedServicesItem)
    • getExcludedServices

      @Nullable public List<String> getExcludedServices()
      List of OCI service names to exclude from metrics collection.
      Returns:
      excludedServices
    • setExcludedServices

      public void setExcludedServices(List<String> excludedServices)
    • putAdditionalProperty

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