Package com.datadog.api.client.v2.model
Class TenancyConfigDataAttributesMetricsConfig
java.lang.Object
com.datadog.api.client.v2.model.TenancyConfigDataAttributesMetricsConfig
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class TenancyConfigDataAttributesMetricsConfig
extends Object
Metrics collection configuration for an OCI tenancy, indicating which compartments and services
are included or excluded.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddCompartmentTagFiltersItem(String compartmentTagFiltersItem) addExcludedServicesItem(String excludedServicesItem) compartmentTagFilters(List<String> compartmentTagFilters) booleanReturn true if this TenancyConfigDataAttributesMetricsConfig object is equal to o.excludedServices(List<String> excludedServices) Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.List of compartment tag filters scoping metrics collection to specific compartments.Whether metrics collection is enabled for the tenancy.List of OCI service names excluded from metrics collection.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetCompartmentTagFilters(List<String> compartmentTagFilters) voidsetEnabled(Boolean enabled) voidsetExcludedServices(List<String> excludedServices) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_COMPARTMENT_TAG_FILTERS
- See Also:
-
JSON_PROPERTY_ENABLED
- See Also:
-
JSON_PROPERTY_EXCLUDED_SERVICES
- See Also:
-
-
Constructor Details
-
TenancyConfigDataAttributesMetricsConfig
public TenancyConfigDataAttributesMetricsConfig()
-
-
Method Details
-
compartmentTagFilters
public TenancyConfigDataAttributesMetricsConfig compartmentTagFilters(List<String> compartmentTagFilters) -
addCompartmentTagFiltersItem
public TenancyConfigDataAttributesMetricsConfig addCompartmentTagFiltersItem(String compartmentTagFiltersItem) -
getCompartmentTagFilters
List of compartment tag filters scoping metrics collection to specific compartments.- Returns:
- compartmentTagFilters
-
setCompartmentTagFilters
-
enabled
-
getEnabled
Whether metrics collection is enabled for the tenancy.- Returns:
- enabled
-
setEnabled
-
excludedServices
-
addExcludedServicesItem
public TenancyConfigDataAttributesMetricsConfig addExcludedServicesItem(String excludedServicesItem) -
getExcludedServices
List of OCI service names excluded from metrics collection.- Returns:
- excludedServices
-
setExcludedServices
-
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:
- TenancyConfigDataAttributesMetricsConfig
-
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 TenancyConfigDataAttributesMetricsConfig object is equal to o. -
hashCode
public int hashCode() -
toString
-