Package com.datadog.api.client.v2.model
Class UpdateTenancyConfigDataAttributesMetricsConfig
java.lang.Object
com.datadog.api.client.v2.model.UpdateTenancyConfigDataAttributesMetricsConfig
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class UpdateTenancyConfigDataAttributesMetricsConfig
extends Object
Metrics collection configuration for updating 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 UpdateTenancyConfigDataAttributesMetricsConfig 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
-
UpdateTenancyConfigDataAttributesMetricsConfig
public UpdateTenancyConfigDataAttributesMetricsConfig()
-
-
Method Details
-
compartmentTagFilters
public UpdateTenancyConfigDataAttributesMetricsConfig compartmentTagFilters(List<String> compartmentTagFilters) -
addCompartmentTagFiltersItem
public UpdateTenancyConfigDataAttributesMetricsConfig 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 UpdateTenancyConfigDataAttributesMetricsConfig excludedServices(List<String> excludedServices) -
addExcludedServicesItem
public UpdateTenancyConfigDataAttributesMetricsConfig addExcludedServicesItem(String excludedServicesItem) -
getExcludedServices
List of OCI service names to exclude from metrics collection.- Returns:
- excludedServices
-
setExcludedServices
-
putAdditionalProperty
public UpdateTenancyConfigDataAttributesMetricsConfig 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:
- UpdateTenancyConfigDataAttributesMetricsConfig
-
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 UpdateTenancyConfigDataAttributesMetricsConfig object is equal to o. -
hashCode
public int hashCode() -
toString
-