Interface InsightResults.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<InsightResults.Builder,
,InsightResults> SdkBuilder<InsightResults.Builder,
,InsightResults> SdkPojo
- Enclosing class:
InsightResults
public static interface InsightResults.Builder
extends SdkPojo, CopyableBuilder<InsightResults.Builder,InsightResults>
-
Method Summary
Modifier and TypeMethodDescriptiongroupByAttribute
(String groupByAttribute) The attribute that the findings are grouped by for the insight whose results are returned by theGetInsightResults
operation.insightArn
(String insightArn) The ARN of the insight whose results are returned by theGetInsightResults
operation.resultValues
(Collection<InsightResultValue> resultValues) The list of insight result values returned by theGetInsightResults
operation.resultValues
(Consumer<InsightResultValue.Builder>... resultValues) The list of insight result values returned by theGetInsightResults
operation.resultValues
(InsightResultValue... resultValues) The list of insight result values returned by theGetInsightResults
operation.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
-
Method Details
-
insightArn
The ARN of the insight whose results are returned by the
GetInsightResults
operation.- Parameters:
insightArn
- The ARN of the insight whose results are returned by theGetInsightResults
operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
groupByAttribute
The attribute that the findings are grouped by for the insight whose results are returned by the
GetInsightResults
operation.- Parameters:
groupByAttribute
- The attribute that the findings are grouped by for the insight whose results are returned by theGetInsightResults
operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resultValues
The list of insight result values returned by the
GetInsightResults
operation.- Parameters:
resultValues
- The list of insight result values returned by theGetInsightResults
operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resultValues
The list of insight result values returned by the
GetInsightResults
operation.- Parameters:
resultValues
- The list of insight result values returned by theGetInsightResults
operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resultValues
The list of insight result values returned by the
This is a convenience method that creates an instance of theGetInsightResults
operation.InsightResultValue.Builder
avoiding the need to create one manually viaInsightResultValue.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toresultValues(List<InsightResultValue>)
.- Parameters:
resultValues
- a consumer that will call methods onInsightResultValue.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-