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 Details

    • insightArn

      InsightResults.Builder insightArn(String 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 the GetInsightResults operation.
      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 GetInsightResults operation.

      Parameters:
      groupByAttribute - The attribute that the findings are grouped by for the insight whose results are returned by the GetInsightResults 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 the GetInsightResults operation.
      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 GetInsightResults operation.

      Parameters:
      resultValues - The list of insight result values returned by the GetInsightResults 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.

      This is a convenience method that creates an instance of the InsightResultValue.Builder avoiding the need to create one manually via InsightResultValue.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to resultValues(List<InsightResultValue>).

      Parameters:
      resultValues - a consumer that will call methods on InsightResultValue.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: