Class CreateTenancyConfigDataAttributesLogsConfig

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

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class CreateTenancyConfigDataAttributesLogsConfig extends Object
Log collection configuration for an OCI tenancy, controlling which compartments and services have log collection enabled.
  • Field Details

  • Constructor Details

    • CreateTenancyConfigDataAttributesLogsConfig

      public CreateTenancyConfigDataAttributesLogsConfig()
  • Method Details

    • compartmentTagFilters

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

      public CreateTenancyConfigDataAttributesLogsConfig addCompartmentTagFiltersItem(String compartmentTagFiltersItem)
    • getCompartmentTagFilters

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

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

    • getEnabled

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

      public void setEnabled(Boolean enabled)
    • enabledServices

      public CreateTenancyConfigDataAttributesLogsConfig enabledServices(List<String> enabledServices)
    • addEnabledServicesItem

      public CreateTenancyConfigDataAttributesLogsConfig addEnabledServicesItem(String enabledServicesItem)
    • getEnabledServices

      @Nullable public List<String> getEnabledServices()
      List of OCI service names for which log collection is enabled.
      Returns:
      enabledServices
    • setEnabledServices

      public void setEnabledServices(List<String> enabledServices)
    • putAdditionalProperty

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