Interface GetFindingsResponse.Builder

All Superinterfaces:
AwsResponse.Builder, Buildable, CopyableBuilder<GetFindingsResponse.Builder,GetFindingsResponse>, Macie2Response.Builder, SdkBuilder<GetFindingsResponse.Builder,GetFindingsResponse>, SdkPojo, SdkResponse.Builder
Enclosing class:
GetFindingsResponse

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

    • findings

      An array of objects, one for each finding that matches the criteria specified in the request.

      Parameters:
      findings - An array of objects, one for each finding that matches the criteria specified in the request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • findings

      GetFindingsResponse.Builder findings(Finding... findings)

      An array of objects, one for each finding that matches the criteria specified in the request.

      Parameters:
      findings - An array of objects, one for each finding that matches the criteria specified in the request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • findings

      An array of objects, one for each finding that matches the criteria specified in the request.

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

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

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