Interface Insight.Builder

All Superinterfaces:
Buildable, CopyableBuilder<Insight.Builder,Insight>, SdkBuilder<Insight.Builder,Insight>, SdkPojo
Enclosing class:
Insight

public static interface Insight.Builder extends SdkPojo, CopyableBuilder<Insight.Builder,Insight>
  • Method Details

    • insightArn

      Insight.Builder insightArn(String insightArn)

      The ARN of a Security Hub insight.

      Parameters:
      insightArn - The ARN of a Security Hub insight.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • name

      Insight.Builder name(String name)

      The name of a Security Hub insight.

      Parameters:
      name - The name of a Security Hub insight.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • filters

      One or more attributes used to filter the findings included in the insight. The insight only includes findings that match the criteria defined in the filters.

      Parameters:
      filters - One or more attributes used to filter the findings included in the insight. The insight only includes findings that match the criteria defined in the filters.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • filters

      One or more attributes used to filter the findings included in the insight. The insight only includes findings that match the criteria defined in the filters.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to filters(AwsSecurityFindingFilters).

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

      Insight.Builder groupByAttribute(String groupByAttribute)

      The grouping attribute for the insight's findings. Indicates how to group the matching findings, and identifies the type of item that the insight applies to. For example, if an insight is grouped by resource identifier, then the insight produces a list of resource identifiers.

      Parameters:
      groupByAttribute - The grouping attribute for the insight's findings. Indicates how to group the matching findings, and identifies the type of item that the insight applies to. For example, if an insight is grouped by resource identifier, then the insight produces a list of resource identifiers.
      Returns:
      Returns a reference to this object so that method calls can be chained together.