Package com.datadog.api.client.v2.model
Class UpdateTenancyConfigDataAttributesLogsConfig
java.lang.Object
com.datadog.api.client.v2.model.UpdateTenancyConfigDataAttributesLogsConfig
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class UpdateTenancyConfigDataAttributesLogsConfig
extends Object
Log collection configuration for updating an OCI tenancy, controlling which compartments and
services have log collection enabled.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddCompartmentTagFiltersItem(String compartmentTagFiltersItem) addEnabledServicesItem(String enabledServicesItem) compartmentTagFilters(List<String> compartmentTagFilters) enabledServices(List<String> enabledServices) booleanReturn true if this UpdateTenancyConfigDataAttributesLogsConfig object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.List of compartment tag filters to scope log collection to specific compartments.Whether log collection is enabled for the tenancy.List of OCI service names for which log collection is enabled.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetCompartmentTagFilters(List<String> compartmentTagFilters) voidsetEnabled(Boolean enabled) voidsetEnabledServices(List<String> enabledServices) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_COMPARTMENT_TAG_FILTERS
- See Also:
-
JSON_PROPERTY_ENABLED
- See Also:
-
JSON_PROPERTY_ENABLED_SERVICES
- See Also:
-
-
Constructor Details
-
UpdateTenancyConfigDataAttributesLogsConfig
public UpdateTenancyConfigDataAttributesLogsConfig()
-
-
Method Details
-
compartmentTagFilters
public UpdateTenancyConfigDataAttributesLogsConfig compartmentTagFilters(List<String> compartmentTagFilters) -
addCompartmentTagFiltersItem
public UpdateTenancyConfigDataAttributesLogsConfig addCompartmentTagFiltersItem(String compartmentTagFiltersItem) -
getCompartmentTagFilters
List of compartment tag filters to scope log collection to specific compartments.- Returns:
- compartmentTagFilters
-
setCompartmentTagFilters
-
enabled
-
getEnabled
Whether log collection is enabled for the tenancy.- Returns:
- enabled
-
setEnabled
-
enabledServices
-
addEnabledServicesItem
public UpdateTenancyConfigDataAttributesLogsConfig addEnabledServicesItem(String enabledServicesItem) -
getEnabledServices
List of OCI service names for which log collection is enabled.- Returns:
- enabledServices
-
setEnabledServices
-
putAdditionalProperty
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 setvalue- The associated value- Returns:
- UpdateTenancyConfigDataAttributesLogsConfig
-
getAdditionalProperties
Return the additional (undeclared) property.- Returns:
- The additional properties
-
getAdditionalProperty
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
Return true if this UpdateTenancyConfigDataAttributesLogsConfig object is equal to o. -
hashCode
public int hashCode() -
toString
-