Interface GetInsightRuleReportResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CloudWatchResponse.Builder,CopyableBuilder<GetInsightRuleReportResponse.Builder,,GetInsightRuleReportResponse> SdkBuilder<GetInsightRuleReportResponse.Builder,,GetInsightRuleReportResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetInsightRuleReportResponse
-
Method Summary
Modifier and TypeMethodDescriptionaggregateValue(Double aggregateValue) The sum of the values from all individual contributors that match the rule.aggregationStatistic(String aggregationStatistic) Specifies whether this rule aggregates contributor data by COUNT or SUM.approximateUniqueCount(Long approximateUniqueCount) An approximate count of the unique contributors found by this rule in this time period.contributors(Collection<InsightRuleContributor> contributors) An array of the unique contributors found by this rule in this time period.contributors(Consumer<InsightRuleContributor.Builder>... contributors) An array of the unique contributors found by this rule in this time period.contributors(InsightRuleContributor... contributors) An array of the unique contributors found by this rule in this time period.An array of the strings used as the keys for this rule.keyLabels(Collection<String> keyLabels) An array of the strings used as the keys for this rule.metricDatapoints(Collection<InsightRuleMetricDatapoint> metricDatapoints) A time series of metric data points that matches the time period in the rule request.metricDatapoints(Consumer<InsightRuleMetricDatapoint.Builder>... metricDatapoints) A time series of metric data points that matches the time period in the rule request.metricDatapoints(InsightRuleMetricDatapoint... metricDatapoints) A time series of metric data points that matches the time period in the rule request.Methods inherited from interface software.amazon.awssdk.services.cloudwatch.model.CloudWatchResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
aggregationStatistic
Specifies whether this rule aggregates contributor data by COUNT or SUM.
- Parameters:
aggregationStatistic- Specifies whether this rule aggregates contributor data by COUNT or SUM.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
aggregateValue
The sum of the values from all individual contributors that match the rule.
- Parameters:
aggregateValue- The sum of the values from all individual contributors that match the rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
approximateUniqueCount
An approximate count of the unique contributors found by this rule in this time period.
- Parameters:
approximateUniqueCount- An approximate count of the unique contributors found by this rule in this time period.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contributors
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 method that creates an instance of theInsightRuleContributor.Builderavoiding the need to create one manually viaInsightRuleContributor.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocontributors(List<InsightRuleContributor>).- Parameters:
contributors- a consumer that will call methods onInsightRuleContributor.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
metricDatapoints
GetInsightRuleReportResponse.Builder metricDatapoints(Collection<InsightRuleMetricDatapoint> metricDatapoints) A time series of metric data points that matches the time period in the rule request.
- Parameters:
metricDatapoints- A time series of metric data points that matches the time period in the rule request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metricDatapoints
GetInsightRuleReportResponse.Builder metricDatapoints(InsightRuleMetricDatapoint... metricDatapoints) A time series of metric data points that matches the time period in the rule request.
- Parameters:
metricDatapoints- A time series of metric data points that matches the time period in the rule request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metricDatapoints
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 method that creates an instance of theInsightRuleMetricDatapoint.Builderavoiding the need to create one manually viaInsightRuleMetricDatapoint.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tometricDatapoints(List<InsightRuleMetricDatapoint>).- Parameters:
metricDatapoints- a consumer that will call methods onInsightRuleMetricDatapoint.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-