Package com.datadog.api.client.v2.model
Class TenancyConfigDataAttributesLogsConfig
java.lang.Object
com.datadog.api.client.v2.model.TenancyConfigDataAttributesLogsConfig
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class TenancyConfigDataAttributesLogsConfig
extends Object
Log collection configuration for an OCI tenancy, indicating 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 TenancyConfigDataAttributesLogsConfig object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.List of compartment tag filters scoping 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
-
TenancyConfigDataAttributesLogsConfig
public TenancyConfigDataAttributesLogsConfig()
-
-
Method Details
-
compartmentTagFilters
public TenancyConfigDataAttributesLogsConfig compartmentTagFilters(List<String> compartmentTagFilters) -
addCompartmentTagFiltersItem
public TenancyConfigDataAttributesLogsConfig addCompartmentTagFiltersItem(String compartmentTagFiltersItem) -
getCompartmentTagFilters
List of compartment tag filters scoping log collection to specific compartments.- Returns:
- compartmentTagFilters
-
setCompartmentTagFilters
-
enabled
-
getEnabled
Whether log collection is enabled for the tenancy.- Returns:
- enabled
-
setEnabled
-
enabledServices
-
addEnabledServicesItem
-
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:
- TenancyConfigDataAttributesLogsConfig
-
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 TenancyConfigDataAttributesLogsConfig object is equal to o. -
hashCode
public int hashCode() -
toString
-