Interface AmiAggregationResponse.Builder

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

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

    • accountId

      AmiAggregationResponse.Builder accountId(String accountId)

      The Amazon Web Services account ID for the AMI.

      Parameters:
      accountId - The Amazon Web Services account ID for the AMI.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • affectedInstances

      AmiAggregationResponse.Builder affectedInstances(Long affectedInstances)

      The IDs of Amazon EC2 instances using this AMI.

      Parameters:
      affectedInstances - The IDs of Amazon EC2 instances using this AMI.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • ami

      The ID of the AMI that findings were aggregated for.

      Parameters:
      ami - The ID of the AMI that findings were aggregated for.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • severityCounts

      AmiAggregationResponse.Builder severityCounts(SeverityCounts severityCounts)

      An object that contains the count of matched findings per severity.

      Parameters:
      severityCounts - An object that contains the count of matched findings per severity.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • severityCounts

      default AmiAggregationResponse.Builder severityCounts(Consumer<SeverityCounts.Builder> severityCounts)

      An object that contains the count of matched findings per severity.

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

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

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