Interface ListFindingsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListFindingsResponse.Builder,,ListFindingsResponse> SdkBuilder<ListFindingsResponse.Builder,,ListFindingsResponse> SdkPojo,SdkResponse.Builder,SecurityAgentResponse.Builder
- Enclosing class:
ListFindingsResponse
@Mutable
@NotThreadSafe
public static interface ListFindingsResponse.Builder
extends SecurityAgentResponse.Builder, SdkPojo, CopyableBuilder<ListFindingsResponse.Builder,ListFindingsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionfindingsSummaries(Collection<FindingSummary> findingsSummaries) The list of finding summaries.findingsSummaries(Consumer<FindingSummary.Builder>... findingsSummaries) The list of finding summaries.findingsSummaries(FindingSummary... findingsSummaries) The list of finding summaries.A token to use for paginating results that are returned in the response.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, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponseMethods inherited from interface software.amazon.awssdk.services.securityagent.model.SecurityAgentResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
findingsSummaries
The list of finding summaries.
- Parameters:
findingsSummaries- The list of finding summaries.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
findingsSummaries
The list of finding summaries.
- Parameters:
findingsSummaries- The list of finding summaries.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
findingsSummaries
ListFindingsResponse.Builder findingsSummaries(Consumer<FindingSummary.Builder>... findingsSummaries) The list of finding summaries.
This is a convenience method that creates an instance of theFindingSummary.Builderavoiding the need to create one manually viaFindingSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofindingsSummaries(List<FindingSummary>).- Parameters:
findingsSummaries- a consumer that will call methods onFindingSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
A token to use for paginating results that are returned in the response. Set the value of this parameter to null for the first request. For subsequent calls, use the nextToken value returned from the previous request.
- Parameters:
nextToken- A token to use for paginating results that are returned in the response. Set the value of this parameter to null for the first request. For subsequent calls, use the nextToken value returned from the previous request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-