primaryEventSource
The primary event source for the metric data.
- Parameters:
primaryEventSource- The primary event source for the metric data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
Buildable, CopyableBuilder<MetricDefinition.Builder,MetricDefinition> , SdkBuilder<MetricDefinition.Builder,MetricDefinition> , SdkPojoMetricDefinitioncreatedTime(Instant createdTime) default MetricDefinition.BuildercreatedUser(Consumer<CreatedByInfo.Builder> createdUser) createdUser(CreatedByInfo createdUser) creationMethod(String creationMethod) creationMethod(MetricCreationMethod creationMethod) defaultStat(String defaultStat) description(String description) effectiveTime(Instant effectiveTime) filters(Collection<AvailableFilter> filters) filters(Consumer<AvailableFilter.Builder>... filters) filters(AvailableFilter... filters) groupings(Collection<String> groupings) lastModifiedRegion(String lastModifiedRegion) lastModifiedTime(Instant lastModifiedTime) default MetricDefinition.BuilderlastModifiedUser(Consumer<CreatedByInfo.Builder> lastModifiedUser) lastModifiedUser(CreatedByInfo lastModifiedUser) default MetricDefinition.BuildermetricCalculation(Consumer<MetricCalculation.Builder> metricCalculation) metricCalculation(MetricCalculation metricCalculation) positiveTrendIndicator(String positiveTrendIndicator) positiveTrendIndicator(TrendIndicator positiveTrendIndicator) primaryEventSource(String primaryEventSource) primaryEventSourceEffectiveTimestampType(String primaryEventSourceEffectiveTimestampType) refreshRate(Long refreshRate) status(MetricStatus status) supportedStats(String... supportedStats) supportedStats(Collection<String> supportedStats) supportsCustomCalculation(Boolean supportsCustomCalculation) supportsPreaggregateCalculation(Boolean supportsPreaggregateCalculation) type(MetricType type) unit(MetricUnit unit) copyapplyMutation, buildequalsBySdkFields, sdkFieldNameToField, sdkFields
The Amazon Resource Name (ARN) of the metric. May be qualified with $SAVED or
$LATEST.
arn - The Amazon Resource Name (ARN) of the metric. May be qualified with $SAVED or
$LATEST.The identifier of the metric.
id - The identifier of the metric.The name of the metric.
name - The name of the metric.The description of the metric.
description - The description of the metric.The calculation definition for the metric.
metricCalculation - The calculation definition for the metric.The calculation definition for the metric.
This is a convenience method that creates an instance of theMetricCalculation.Builder avoiding the
need to create one manually via MetricCalculation.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to metricCalculation(MetricCalculation).
metricCalculation - a consumer that will call methods on MetricCalculation.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).
creationMethod - 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).
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).
creationMethod - 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).
The publish status of the metric. Valid values: PUBLISHED | SAVED.
status - The publish status of the metric. Valid values: PUBLISHED | SAVED.
The publish status of the metric. Valid values: PUBLISHED | SAVED.
status - The publish status of the metric. Valid values: PUBLISHED | SAVED.
The type of the metric. Valid values: AWS_MANAGED | CUSTOMER_MANAGED.
type - The type of the metric. Valid values: AWS_MANAGED | CUSTOMER_MANAGED.
The type of the metric. Valid values: AWS_MANAGED | CUSTOMER_MANAGED.
type - The type of the metric. Valid values: AWS_MANAGED | CUSTOMER_MANAGED.The display unit for the metric's data.
unit - The display unit for the metric's data.The display unit for the metric's data.
unit - The display unit for the metric's data.
How an increase in the metric value should be interpreted. Valid values: POSITIVE,
NEUTRAL, NEGATIVE.
positiveTrendIndicator - How an increase in the metric value should be interpreted. Valid values: POSITIVE,
NEUTRAL, NEGATIVE.
How an increase in the metric value should be interpreted. Valid values: POSITIVE,
NEUTRAL, NEGATIVE.
positiveTrendIndicator - How an increase in the metric value should be interpreted. Valid values: POSITIVE,
NEUTRAL, NEGATIVE.The groupings available for this metric.
groupings - The groupings available for this metric.The groupings available for this metric.
groupings - The groupings available for this metric.The filters applied to the metric.
filters - The filters applied to the metric.The filters applied to the metric.
filters - The filters applied to the metric.The filters applied to the metric.
This is a convenience method that creates an instance of theAvailableFilter.Builder avoiding the need to create one
manually via AvailableFilter.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately
and its result is passed to filters(List<AvailableFilter>).
filters - a consumer that will call methods on
AvailableFilter.BuilderThe earliest time that can be queried for this metric.
effectiveTime - The earliest time that can be queried for this metric.The minimum interval, in seconds, between data refreshes for this metric.
refreshRate - The minimum interval, in seconds, between data refreshes for this metric.The category of the metric.
category - The category of the metric.The stat aggregations available for this metric.
supportedStats - The stat aggregations available for this metric.The stat aggregations available for this metric.
supportedStats - The stat aggregations available for this metric.The default stat aggregation for the metric.
defaultStat - 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.
supportsPreaggregateCalculation - 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.
supportsCustomCalculation - Specifies whether the metric can be used as a component of custom metrics.The primary event source for the metric data.
primaryEventSource - The primary event source for the metric data.The timestamp type that determines where the metric appears on a time series.
primaryEventSourceEffectiveTimestampType - The timestamp type that determines where the metric appears on a time series.The timestamp of when the metric was created.
createdTime - 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.
createdUser - The user that created the metric. The creator for metrics created through the CreateMetric API will be
Amazon Connect API.
The user that created the metric. The creator for metrics created through the CreateMetric API will be
Amazon Connect API.
CreatedByInfo.Builder avoiding the need
to create one manually via CreatedByInfo.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to createdUser(CreatedByInfo).
createdUser - a consumer that will call methods on CreatedByInfo.BuilderThe region where the metric was last modified.
lastModifiedRegion - The region where the metric was last modified.The timestamp of when the metric was last modified.
lastModifiedTime - 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.
lastModifiedUser - The user that last modified the metric. For modifications made through the API, this will be
Amazon Connect API.
The user that last modified the metric. For modifications made through the API, this will be
Amazon Connect API.
CreatedByInfo.Builder avoiding the need
to create one manually via CreatedByInfo.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to lastModifiedUser(CreatedByInfo).
lastModifiedUser - a consumer that will call methods on CreatedByInfo.BuilderThe tags used to organize, track, or control access for this resource. For example, { "Tags": {"key1":"value1", "key2":"value2"} }.
tags - The tags used to organize, track, or control access for this resource. For example, { "Tags":
{"key1":"value1", "key2":"value2"} }.