public static interface GetInsightRuleReportResponse.Builder extends CloudWatchResponse.Builder, SdkPojo, CopyableBuilder<GetInsightRuleReportResponse.Builder,GetInsightRuleReportResponse>
Modifier and Type | Method and Description |
---|---|
GetInsightRuleReportResponse.Builder |
aggregateValue(Double aggregateValue)
The sum of the values from all individual contributors that match the rule.
|
GetInsightRuleReportResponse.Builder |
aggregationStatistic(String aggregationStatistic)
Specifies whether this rule aggregates contributor data by COUNT or SUM.
|
GetInsightRuleReportResponse.Builder |
approximateUniqueCount(Long approximateUniqueCount)
An approximate count of the unique contributors found by this rule in this time period.
|
GetInsightRuleReportResponse.Builder |
contributors(Collection<InsightRuleContributor> contributors)
An array of the unique contributors found by this rule in this time period.
|
GetInsightRuleReportResponse.Builder |
contributors(Consumer<InsightRuleContributor.Builder>... contributors)
An array of the unique contributors found by this rule in this time period.
|
GetInsightRuleReportResponse.Builder |
contributors(InsightRuleContributor... contributors)
An array of the unique contributors found by this rule in this time period.
|
GetInsightRuleReportResponse.Builder |
keyLabels(Collection<String> keyLabels)
An array of the strings used as the keys for this rule.
|
GetInsightRuleReportResponse.Builder |
keyLabels(String... keyLabels)
An array of the strings used as the keys for this rule.
|
GetInsightRuleReportResponse.Builder |
metricDatapoints(Collection<InsightRuleMetricDatapoint> metricDatapoints)
A time series of metric data points that matches the time period in the rule request.
|
GetInsightRuleReportResponse.Builder |
metricDatapoints(Consumer<InsightRuleMetricDatapoint.Builder>... metricDatapoints)
A time series of metric data points that matches the time period in the rule request.
|
GetInsightRuleReportResponse.Builder |
metricDatapoints(InsightRuleMetricDatapoint... metricDatapoints)
A time series of metric data points that matches the time period in the rule request.
|
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
equalsBySdkFields, sdkFields
copy
applyMutation, build
GetInsightRuleReportResponse.Builder keyLabels(Collection<String> keyLabels)
An array of the strings used as the keys for this rule. The keys are the dimensions used to classify contributors. If the rule contains more than one key, then each unique combination of values for the keys is counted as a unique contributor.
keyLabels
- An array of the strings used as the keys for this rule. The keys are the dimensions used to classify
contributors. If the rule contains more than one key, then each unique combination of values for the
keys is counted as a unique contributor.GetInsightRuleReportResponse.Builder keyLabels(String... keyLabels)
An array of the strings used as the keys for this rule. The keys are the dimensions used to classify contributors. If the rule contains more than one key, then each unique combination of values for the keys is counted as a unique contributor.
keyLabels
- An array of the strings used as the keys for this rule. The keys are the dimensions used to classify
contributors. If the rule contains more than one key, then each unique combination of values for the
keys is counted as a unique contributor.GetInsightRuleReportResponse.Builder aggregationStatistic(String aggregationStatistic)
Specifies whether this rule aggregates contributor data by COUNT or SUM.
aggregationStatistic
- Specifies whether this rule aggregates contributor data by COUNT or SUM.GetInsightRuleReportResponse.Builder aggregateValue(Double aggregateValue)
The sum of the values from all individual contributors that match the rule.
aggregateValue
- The sum of the values from all individual contributors that match the rule.GetInsightRuleReportResponse.Builder approximateUniqueCount(Long approximateUniqueCount)
An approximate count of the unique contributors found by this rule in this time period.
approximateUniqueCount
- An approximate count of the unique contributors found by this rule in this time period.GetInsightRuleReportResponse.Builder contributors(Collection<InsightRuleContributor> contributors)
An array of the unique contributors found by this rule in this time period. If the rule contains multiple keys, each combination of values for the keys counts as a unique contributor.
contributors
- An array of the unique contributors found by this rule in this time period. If the rule contains
multiple keys, each combination of values for the keys counts as a unique contributor.GetInsightRuleReportResponse.Builder contributors(InsightRuleContributor... contributors)
An array of the unique contributors found by this rule in this time period. If the rule contains multiple keys, each combination of values for the keys counts as a unique contributor.
contributors
- An array of the unique contributors found by this rule in this time period. If the rule contains
multiple keys, each combination of values for the keys counts as a unique contributor.GetInsightRuleReportResponse.Builder contributors(Consumer<InsightRuleContributor.Builder>... contributors)
An array of the unique contributors found by this rule in this time period. If the rule contains multiple keys, each combination of values for the keys counts as a unique contributor.
This is a convenience that creates an instance of theList.Builder
avoiding
the need to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called
immediately and its result is passed to #contributors(List)
.contributors
- a consumer that will call methods on List.Builder
#contributors(List)
GetInsightRuleReportResponse.Builder metricDatapoints(Collection<InsightRuleMetricDatapoint> metricDatapoints)
A time series of metric data points that matches the time period in the rule request.
metricDatapoints
- A time series of metric data points that matches the time period in the rule request.GetInsightRuleReportResponse.Builder metricDatapoints(InsightRuleMetricDatapoint... metricDatapoints)
A time series of metric data points that matches the time period in the rule request.
metricDatapoints
- A time series of metric data points that matches the time period in the rule request.GetInsightRuleReportResponse.Builder metricDatapoints(Consumer<InsightRuleMetricDatapoint.Builder>... metricDatapoints)
A time series of metric data points that matches the time period in the rule request.
This is a convenience that creates an instance of theList.Builder
avoiding the need to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called
immediately and its result is passed to #metricDatapoints(List)
.metricDatapoints
- a consumer that will call methods on List.Builder
#metricDatapoints(List)
Copyright © 2022. All rights reserved.