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 theGetInsightResultsoperation.insightArn(String insightArn) The ARN of the insight whose results are returned by theGetInsightResultsoperation.resultValues(Collection<InsightResultValue> resultValues) The list of insight result values returned by theGetInsightResultsoperation.resultValues(Consumer<InsightResultValue.Builder>... resultValues) The list of insight result values returned by theGetInsightResultsoperation.resultValues(InsightResultValue... resultValues) The list of insight result values returned by theGetInsightResultsoperation.Methods 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, sdkFields
-
Method Details
-
insightArn
The ARN of the insight whose results are returned by the
GetInsightResultsoperation.- Parameters:
insightArn- The ARN of the insight whose results are returned by theGetInsightResultsoperation.- 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
GetInsightResultsoperation.- Parameters:
groupByAttribute- The attribute that the findings are grouped by for the insight whose results are returned by theGetInsightResultsoperation.- 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
GetInsightResultsoperation.- Parameters:
resultValues- The list of insight result values returned by theGetInsightResultsoperation.- 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
GetInsightResultsoperation.- Parameters:
resultValues- The list of insight result values returned by theGetInsightResultsoperation.- 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 theGetInsightResultsoperation.InsightResultValue.Builderavoiding the need to create one manually viaInsightResultValue.builder().When the
Consumercompletes,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:
-