primaryEventSource
The primary event source for the metric data.
- Returns:
- The primary event source for the metric data.
Serializable, SdkPojo, ToCopyableBuilder<MetricDefinition.Builder,MetricDefinition> Contains the full definition of a metric, including its calculation, unit, status, and trend indicator.
final Stringarn()static MetricDefinition.Builderbuilder()final Stringcategory()final Instantfinal CreatedByInfofinal MetricCreationMethodfinal Stringfinal Stringfinal Stringfinal Instantfinal booleanfinal booleanequalsBySdkFields(Object obj) final List<AvailableFilter> filters()final <T> Optional<T> getValueForField(String fieldName,
Class<T> clazz) final booleanfinal booleanfinal inthashCode()final booleanfinal booleanhasTags()final Stringid()final Stringfinal Instantfinal CreatedByInfofinal MetricCalculationfinal Stringname()final TrendIndicatorfinal Stringfinal Stringfinal Stringfinal Longstatic Class<? extends MetricDefinition.Builder> final MetricStatusstatus()final Stringfinal Booleanfinal Booleantags()final StringtoString()final MetricTypetype()final Stringfinal MetricUnitunit()final Stringcopy
The Amazon Resource Name (ARN) of the metric. May be qualified with $SAVED or $LATEST.
$SAVED or
$LATEST.The description of the metric.
The calculation definition for the metric.
The method used to create the metric. Valid values: SERVICE_LEVEL_BUILDER (created with the guided
service-level experience) | METRIC_BUILDER (created with the free-form metric builder).
If the service returns an enum value that is not available in the current SDK version, creationMethod
will return MetricCreationMethod.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from creationMethodAsString().
SERVICE_LEVEL_BUILDER (created with the
guided service-level experience) | METRIC_BUILDER (created with the free-form metric
builder).
The method used to create the metric. Valid values: SERVICE_LEVEL_BUILDER (created with the guided
service-level experience) | METRIC_BUILDER (created with the free-form metric builder).
If the service returns an enum value that is not available in the current SDK version, creationMethod
will return MetricCreationMethod.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from creationMethodAsString().
SERVICE_LEVEL_BUILDER (created with the
guided service-level experience) | METRIC_BUILDER (created with the free-form metric
builder).
The publish status of the metric. Valid values: PUBLISHED | SAVED.
If the service returns an enum value that is not available in the current SDK version, status will
return MetricStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
PUBLISHED | SAVED.
The publish status of the metric. Valid values: PUBLISHED | SAVED.
If the service returns an enum value that is not available in the current SDK version, status will
return MetricStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
PUBLISHED | SAVED.
The type of the metric. Valid values: AWS_MANAGED | CUSTOMER_MANAGED.
If the service returns an enum value that is not available in the current SDK version, type will return
MetricType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
typeAsString().
AWS_MANAGED | CUSTOMER_MANAGED.
The type of the metric. Valid values: AWS_MANAGED | CUSTOMER_MANAGED.
If the service returns an enum value that is not available in the current SDK version, type will return
MetricType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
typeAsString().
AWS_MANAGED | CUSTOMER_MANAGED.The display unit for the metric's data.
If the service returns an enum value that is not available in the current SDK version, unit will return
MetricUnit.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
unitAsString().
The display unit for the metric's data.
If the service returns an enum value that is not available in the current SDK version, unit will return
MetricUnit.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
unitAsString().
How an increase in the metric value should be interpreted. Valid values: POSITIVE,
NEUTRAL, NEGATIVE.
If the service returns an enum value that is not available in the current SDK version,
positiveTrendIndicator will return TrendIndicator.UNKNOWN_TO_SDK_VERSION. The raw value returned
by the service is available from positiveTrendIndicatorAsString().
POSITIVE,
NEUTRAL, NEGATIVE.
How an increase in the metric value should be interpreted. Valid values: POSITIVE,
NEUTRAL, NEGATIVE.
If the service returns an enum value that is not available in the current SDK version,
positiveTrendIndicator will return TrendIndicator.UNKNOWN_TO_SDK_VERSION. The raw value returned
by the service is available from positiveTrendIndicatorAsString().
POSITIVE,
NEUTRAL, NEGATIVE.isEmpty() method on the property). This is
useful because the SDK will never return a null collection or map, but you may need to differentiate between the
service returning nothing (or null) and the service returning an empty collection or map. For requests, this
returns true if a value for the property was specified in the request builder, and false if a value was not
specified.The groupings available for this metric.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasGroupings() method.
isEmpty() method on the property). This is
useful because the SDK will never return a null collection or map, but you may need to differentiate between the
service returning nothing (or null) and the service returning an empty collection or map. For requests, this
returns true if a value for the property was specified in the request builder, and false if a value was not
specified.The filters applied to the metric.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasFilters() method.
The earliest time that can be queried for this metric.
The minimum interval, in seconds, between data refreshes for this metric.
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.The stat aggregations available for this metric.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasSupportedStats() method.
The default stat aggregation for the metric.
Specifies whether the metric can be used inside aggregating statistical functions (SUM, AVG, etc.) in custom metric calculations.
Specifies whether the metric can be used as a component of custom metrics.
The primary event source for the metric data.
The timestamp type that determines where the metric appears on a time series.
The timestamp of when the metric was created.
The user that created the metric. The creator for metrics created through the CreateMetric API will be
Amazon Connect API.
Amazon Connect API.The region where the metric was last modified.
The timestamp of when the metric was last modified.
The user that last modified the metric. For modifications made through the API, this will be
Amazon Connect API.
Amazon Connect API.isEmpty() method on the property). This is useful
because the SDK will never return a null collection or map, but you may need to differentiate between the service
returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true
if a value for the property was specified in the request builder, and false if a value was not specified.The tags used to organize, track, or control access for this resource. For example, { "Tags": {"key1":"value1", "key2":"value2"} }.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasTags() method.
ToCopyableBuildertoBuilder in interface ToCopyableBuilder<MetricDefinition.Builder,MetricDefinition> SdkPojoSdkPojo class,
and is generated based on a service model.
If an SdkPojo class does not have any inherited fields, equalsBySdkFields
and equals are essentially the same.
equalsBySdkFields in interface SdkPojoobj - the object to be compared withsdkFieldNameToField in interface SdkPojo