Interface GetInsightRuleReportResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CloudWatchResponse.Builder
,CopyableBuilder<GetInsightRuleReportResponse.Builder,GetInsightRuleReportResponse>
,SdkBuilder<GetInsightRuleReportResponse.Builder,GetInsightRuleReportResponse>
,SdkPojo
,SdkResponse.Builder
- Enclosing class:
- GetInsightRuleReportResponse
public static interface GetInsightRuleReportResponse.Builder extends CloudWatchResponse.Builder, SdkPojo, CopyableBuilder<GetInsightRuleReportResponse.Builder,GetInsightRuleReportResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method 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(String... keyLabels)
An array of the strings used as the keys for this rule.GetInsightRuleReportResponse.Builder
keyLabels(Collection<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.-
Methods inherited from interface software.amazon.awssdk.services.cloudwatch.model.CloudWatchResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
keyLabels
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.
- 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
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.
- 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
GetInsightRuleReportResponse.Builder aggregationStatistic(String 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
GetInsightRuleReportResponse.Builder aggregateValue(Double 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
GetInsightRuleReportResponse.Builder approximateUniqueCount(Long 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
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.
- 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(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.
- 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.Builder
avoiding the need to create one manually viaInsightRuleContributor.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#contributors(List
.) - 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:
#contributors(java.util.Collection
)
-
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.Builder
avoiding the need to create one manually viaInsightRuleMetricDatapoint.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#metricDatapoints(List
.) - 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:
#metricDatapoints(java.util.Collection
)
-
-