Interface GetFindingsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetFindingsResponse.Builder,,GetFindingsResponse> SdkBuilder<GetFindingsResponse.Builder,,GetFindingsResponse> SdkPojo,SdkResponse.Builder,SecurityHubResponse.Builder
- Enclosing class:
GetFindingsResponse
public static interface GetFindingsResponse.Builder
extends SecurityHubResponse.Builder, SdkPojo, CopyableBuilder<GetFindingsResponse.Builder,GetFindingsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionfindings(Collection<AwsSecurityFinding> findings) The findings that matched the filters specified in the request.findings(Consumer<AwsSecurityFinding.Builder>... findings) The findings that matched the filters specified in the request.findings(AwsSecurityFinding... findings) The findings that matched the filters specified in the request.The pagination token to use to request the next page of results.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponseMethods inherited from interface software.amazon.awssdk.services.securityhub.model.SecurityHubResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
findings
The findings that matched the filters specified in the request.
- Parameters:
findings- The findings that matched the filters specified in the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
findings
The findings that matched the filters specified in the request.
- Parameters:
findings- The findings that matched the filters specified in the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
findings
The findings that matched the filters specified in the request.
This is a convenience method that creates an instance of theAwsSecurityFinding.Builderavoiding the need to create one manually viaAwsSecurityFinding.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofindings(List<AwsSecurityFinding>).- Parameters:
findings- a consumer that will call methods onAwsSecurityFinding.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The pagination token to use to request the next page of results.
- Parameters:
nextToken- The pagination token to use to request the next page of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-