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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description InsightResults.BuildergroupByAttribute(String groupByAttribute)The attribute that the findings are grouped by for the insight whose results are returned by theGetInsightResultsoperation.InsightResults.BuilderinsightArn(String insightArn)The ARN of the insight whose results are returned by theGetInsightResultsoperation.InsightResults.BuilderresultValues(Collection<InsightResultValue> resultValues)The list of insight result values returned by theGetInsightResultsoperation.InsightResults.BuilderresultValues(Consumer<InsightResultValue.Builder>... resultValues)The list of insight result values returned by theGetInsightResultsoperation.InsightResults.BuilderresultValues(InsightResultValue... resultValues)The list of insight result values returned by theGetInsightResultsoperation.-
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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
insightArn
InsightResults.Builder insightArn(String 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
InsightResults.Builder groupByAttribute(String 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
InsightResults.Builder resultValues(Collection<InsightResultValue> 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
InsightResults.Builder resultValues(InsightResultValue... 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
InsightResults.Builder resultValues(Consumer<InsightResultValue.Builder>... 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 to#resultValues(List.) - 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:
#resultValues(java.util.Collection)
-
-