Class LogAnalyticsMetric
- java.lang.Object
- 
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
- 
- com.oracle.bmc.loganalytics.model.LogAnalyticsMetric
 
 
- 
 @Generated(value="OracleSDKGenerator", comments="API Version: 20200601") public final class LogAnalyticsMetric extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelLogAnalyticsMetric
 Note: Objects should always be created or deserialized using theLogAnalyticsMetric.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 the LogAnalyticsMetric.Builder, which maintain a set of all explicitly set fields calledLogAnalyticsMetric.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 classLogAnalyticsMetric.Builderstatic classLogAnalyticsMetric.MetricTypeThe metric type, specifying the type of aggreation to perform.static classLogAnalyticsMetric.OperatorThe metric operator.
 - 
Constructor SummaryConstructors Constructor Description LogAnalyticsMetric(String aggregationField, String bucketMetadata, String clockPeriod, String description, Long editVersion, String fieldName, List<String> fieldValues, String groupingField, Boolean isEnabled, Boolean isSystem, String displayName, Long metricReference, String name, LogAnalyticsMetric.MetricType metricType, Boolean isMetricSourceEnabled, LogAnalyticsMetric.Operator operator, List<LogAnalyticsSource> sources, String entityType, Date timeUpdated, String unitType, Boolean isUserCustomized)Deprecated.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static LogAnalyticsMetric.Builderbuilder()Create a new builder.booleanequals(Object o)StringgetAggregationField()The aggregation field.StringgetBucketMetadata()The bucket metadata.StringgetClockPeriod()The clock period.StringgetDescription()The metric description.StringgetDisplayName()The metric display name.LonggetEditVersion()The metric edit version.StringgetEntityType()The entity type.StringgetFieldName()The field name.List<String>getFieldValues()The field values.StringgetGroupingField()The grouping fields.BooleangetIsEnabled()A flag inidcating whether or not the metric is enabled.BooleangetIsMetricSourceEnabled()A flag specifying whether or not the metric source is enabled.BooleangetIsSystem()The system flag.BooleangetIsUserCustomized()A flag specifying whether or not this is a custom (user defined) metric.LonggetMetricReference()The metric unique identifier.LogAnalyticsMetric.MetricTypegetMetricType()The metric type, specifying the type of aggreation to perform.StringgetName()The metric name.LogAnalyticsMetric.OperatorgetOperator()The metric operator.List<LogAnalyticsSource>getSources()The metric sources.DategetTimeUpdated()The last updated date.StringgetUnitType()The unit type.inthashCode()LogAnalyticsMetric.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
 
- 
- 
- 
Constructor Detail- 
LogAnalyticsMetric@Deprecated @ConstructorProperties({"aggregationField","bucketMetadata","clockPeriod","description","editVersion","fieldName","fieldValues","groupingField","isEnabled","isSystem","displayName","metricReference","name","metricType","isMetricSourceEnabled","operator","sources","entityType","timeUpdated","unitType","isUserCustomized"}) public LogAnalyticsMetric(String aggregationField, String bucketMetadata, String clockPeriod, String description, Long editVersion, String fieldName, List<String> fieldValues, String groupingField, Boolean isEnabled, Boolean isSystem, String displayName, Long metricReference, String name, LogAnalyticsMetric.MetricType metricType, Boolean isMetricSourceEnabled, LogAnalyticsMetric.Operator operator, List<LogAnalyticsSource> sources, String entityType, Date timeUpdated, String unitType, Boolean isUserCustomized) Deprecated.
 
- 
 - 
Method Detail- 
builderpublic static LogAnalyticsMetric.Builder builder() Create a new builder.
 - 
toBuilderpublic LogAnalyticsMetric.Builder toBuilder() 
 - 
getAggregationFieldpublic String getAggregationField() The aggregation field.- Returns:
- the value
 
 - 
getBucketMetadatapublic String getBucketMetadata() The bucket metadata.- Returns:
- the value
 
 - 
getClockPeriodpublic String getClockPeriod() The clock period.- Returns:
- the value
 
 - 
getDescriptionpublic String getDescription() The metric description.- Returns:
- the value
 
 - 
getEditVersionpublic Long getEditVersion() The metric edit version.- Returns:
- the value
 
 - 
getFieldNamepublic String getFieldName() The field name.- Returns:
- the value
 
 - 
getGroupingFieldpublic String getGroupingField() The grouping fields.- Returns:
- the value
 
 - 
getIsEnabledpublic Boolean getIsEnabled() A flag inidcating whether or not the metric is enabled.- Returns:
- the value
 
 - 
getIsSystempublic Boolean getIsSystem() The system flag.A value of false denotes a custom, or user defined object. A value of true denotes a built in object. - Returns:
- the value
 
 - 
getDisplayNamepublic String getDisplayName() The metric display name.- Returns:
- the value
 
 - 
getMetricReferencepublic Long getMetricReference() The metric unique identifier.- Returns:
- the value
 
 - 
getNamepublic String getName() The metric name.- Returns:
- the value
 
 - 
getMetricTypepublic LogAnalyticsMetric.MetricType getMetricType() The metric type, specifying the type of aggreation to perform.Default value is COUNT. - Returns:
- the value
 
 - 
getIsMetricSourceEnabledpublic Boolean getIsMetricSourceEnabled() A flag specifying whether or not the metric source is enabled.- Returns:
- the value
 
 - 
getOperatorpublic LogAnalyticsMetric.Operator getOperator() The metric operator.- Returns:
- the value
 
 - 
getSourcespublic List<LogAnalyticsSource> getSources() The metric sources.- Returns:
- the value
 
 - 
getEntityTypepublic String getEntityType() The entity type.- Returns:
- the value
 
 - 
getTimeUpdatedpublic Date getTimeUpdated() The last updated date.- Returns:
- the value
 
 - 
getUnitTypepublic String getUnitType() The unit type.- Returns:
- the value
 
 - 
getIsUserCustomizedpublic Boolean getIsUserCustomized() A flag specifying whether or not this is a custom (user defined) metric.- Returns:
- the value
 
 - 
toStringpublic String toString() - Overrides:
- toStringin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
toStringpublic String toString(boolean includeByteArrayContents) Return a string representation of the object.- Parameters:
- includeByteArrayContents- true to include the full contents of byte arrays
- Returns:
- string representation
 
 - 
equalspublic boolean equals(Object o) - Overrides:
- equalsin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 
- 
 
-