Class MetricGroupSummary
- java.lang.Object
- 
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
- 
- com.oracle.bmc.apmconfig.model.ConfigSummary
- 
- com.oracle.bmc.apmconfig.model.MetricGroupSummary
 
 
 
- 
 @Generated(value="OracleSDKGenerator", comments="API Version: 20210201") public final class MetricGroupSummary extends ConfigSummaryA metric group defines a set of metrics to collect from a span.It uses a span filter to specify which spans to process. The set is then published to a namespace, which is a product level subdivision of metrics. 
 Note: Objects should always be created or deserialized using theMetricGroupSummary.Builder. This model distinguishes fields that are null because they are unset from fields that are explicitly set to null. This is done in the setter methods of theMetricGroupSummary.Builder, which maintain a set of all explicitly set fields calledMetricGroupSummary.Builder.__explicitlySet__. ThehashCode()andequals(Object)methods are implemented to take the explicitly set fields into account. The constructor, on the other hand, does not take the explicitly set fields into account (since the constructor cannot distinguish explicit null from unset null).
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classMetricGroupSummary.Builder
 - 
Constructor SummaryConstructors Constructor Description MetricGroupSummary(String id, Date timeCreated, Date timeUpdated, String createdBy, String updatedBy, String etag, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags, Map<String,Map<String,Object>> systemTags, String displayName, String filterId, String namespace, List<Dimension> dimensions, List<Metric> metrics)Deprecated.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MetricGroupSummary.Builderbuilder()Create a new builder.booleanequals(Object o)List<Dimension>getDimensions()A list of dimensions for the metric.StringgetDisplayName()The name by which a configuration entity is displayed to the end user.StringgetFilterId()The OCID of a Span Filter.List<Metric>getMetrics()The list of metrics in this group.StringgetNamespace()The namespace to which the metrics are published.inthashCode()MetricGroupSummary.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.- 
Methods inherited from class com.oracle.bmc.apmconfig.model.ConfigSummarygetCreatedBy, getDefinedTags, getEtag, getFreeformTags, getId, getSystemTags, getTimeCreated, getTimeUpdated, getUpdatedBy
 
- 
 
- 
- 
- 
Constructor Detail- 
MetricGroupSummary@Deprecated public MetricGroupSummary(String id, Date timeCreated, Date timeUpdated, String createdBy, String updatedBy, String etag, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags, Map<String,Map<String,Object>> systemTags, String displayName, String filterId, String namespace, List<Dimension> dimensions, List<Metric> metrics) Deprecated.
 
- 
 - 
Method Detail- 
builderpublic static MetricGroupSummary.Builder builder() Create a new builder.
 - 
toBuilderpublic MetricGroupSummary.Builder toBuilder() 
 - 
getDisplayNamepublic String getDisplayName() The name by which a configuration entity is displayed to the end user.- Returns:
- the value
 
 - 
getFilterIdpublic String getFilterId() The OCID of a Span Filter.The filterId is mandatory for the creation of MetricGroups. A filterId is generated when a Span Filter is created. - Returns:
- the value
 
 - 
getNamespacepublic String getNamespace() The namespace to which the metrics are published.It must be one of several predefined namespaces. - Returns:
- the value
 
 - 
getDimensionspublic List<Dimension> getDimensions() A list of dimensions for the metric.This variable should not be used. - Returns:
- the value
 
 - 
toStringpublic String toString() - Overrides:
- toStringin class- ConfigSummary
 
 - 
toStringpublic String toString(boolean includeByteArrayContents) Return a string representation of the object.- Overrides:
- toStringin class- ConfigSummary
- Parameters:
- includeByteArrayContents- true to include the full contents of byte arrays
- Returns:
- string representation
 
 - 
equalspublic boolean equals(Object o) - Overrides:
- equalsin class- ConfigSummary
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- ConfigSummary
 
 
- 
 
-