Interface ListFindingsResponse.Builder
-
- All Superinterfaces:
AccessAnalyzerResponse.Builder,AwsResponse.Builder,Buildable,CopyableBuilder<ListFindingsResponse.Builder,ListFindingsResponse>,SdkBuilder<ListFindingsResponse.Builder,ListFindingsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListFindingsResponse
public static interface ListFindingsResponse.Builder extends AccessAnalyzerResponse.Builder, SdkPojo, CopyableBuilder<ListFindingsResponse.Builder,ListFindingsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListFindingsResponse.Builderfindings(Collection<FindingSummary> findings)A list of findings retrieved from the analyzer that match the filter criteria specified, if any.ListFindingsResponse.Builderfindings(Consumer<FindingSummary.Builder>... findings)A list of findings retrieved from the analyzer that match the filter criteria specified, if any.ListFindingsResponse.Builderfindings(FindingSummary... findings)A list of findings retrieved from the analyzer that match the filter criteria specified, if any.ListFindingsResponse.BuildernextToken(String nextToken)A token used for pagination of results returned.-
Methods inherited from interface software.amazon.awssdk.services.accessanalyzer.model.AccessAnalyzerResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
findings
ListFindingsResponse.Builder findings(Collection<FindingSummary> findings)
A list of findings retrieved from the analyzer that match the filter criteria specified, if any.
- Parameters:
findings- A list of findings retrieved from the analyzer that match the filter criteria specified, if any.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
findings
ListFindingsResponse.Builder findings(FindingSummary... findings)
A list of findings retrieved from the analyzer that match the filter criteria specified, if any.
- Parameters:
findings- A list of findings retrieved from the analyzer that match the filter criteria specified, if any.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
findings
ListFindingsResponse.Builder findings(Consumer<FindingSummary.Builder>... findings)
A list of findings retrieved from the analyzer that match the filter criteria specified, if any.
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 to#findings(List.) - Parameters:
findings- 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:
#findings(java.util.Collection)
-
nextToken
ListFindingsResponse.Builder nextToken(String nextToken)
A token used for pagination of results returned.
- Parameters:
nextToken- A token used for pagination of results returned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-