Package com.datadog.api.client.v2.model
Class CreateTenancyConfigDataAttributesMetricsConfig
java.lang.Object
com.datadog.api.client.v2.model.CreateTenancyConfigDataAttributesMetricsConfig
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class CreateTenancyConfigDataAttributesMetricsConfig
extends Object
Metrics collection configuration for an OCI tenancy, controlling 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 CreateTenancyConfigDataAttributesMetricsConfig 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 to scope metrics collection to specific compartments.Whether metrics collection is enabled for the tenancy.List of OCI service names to exclude 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
-
CreateTenancyConfigDataAttributesMetricsConfig
public CreateTenancyConfigDataAttributesMetricsConfig()
-
-
Method Details
-
compartmentTagFilters
public CreateTenancyConfigDataAttributesMetricsConfig compartmentTagFilters(List<String> compartmentTagFilters) -
addCompartmentTagFiltersItem
public CreateTenancyConfigDataAttributesMetricsConfig addCompartmentTagFiltersItem(String compartmentTagFiltersItem) -
getCompartmentTagFilters
List of compartment tag filters to scope metrics collection to specific compartments.- Returns:
- compartmentTagFilters
-
setCompartmentTagFilters
-
enabled
-
getEnabled
Whether metrics collection is enabled for the tenancy.- Returns:
- enabled
-
setEnabled
-
excludedServices
public CreateTenancyConfigDataAttributesMetricsConfig excludedServices(List<String> excludedServices) -
addExcludedServicesItem
public CreateTenancyConfigDataAttributesMetricsConfig addExcludedServicesItem(String excludedServicesItem) -
getExcludedServices
List of OCI service names to exclude from metrics collection.- Returns:
- excludedServices
-
setExcludedServices
-
putAdditionalProperty
public CreateTenancyConfigDataAttributesMetricsConfig 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 setvalue- The associated value- Returns:
- CreateTenancyConfigDataAttributesMetricsConfig
-
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 CreateTenancyConfigDataAttributesMetricsConfig object is equal to o. -
hashCode
public int hashCode() -
toString
-