Interface ListFindingsV2Response.Builder
-
- All Superinterfaces:
AccessAnalyzerResponse.Builder,AwsResponse.Builder,Buildable,CopyableBuilder<ListFindingsV2Response.Builder,ListFindingsV2Response>,SdkBuilder<ListFindingsV2Response.Builder,ListFindingsV2Response>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListFindingsV2Response
public static interface ListFindingsV2Response.Builder extends AccessAnalyzerResponse.Builder, SdkPojo, CopyableBuilder<ListFindingsV2Response.Builder,ListFindingsV2Response>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListFindingsV2Response.Builderfindings(Collection<FindingSummaryV2> findings)A list of findings retrieved from the analyzer that match the filter criteria specified, if any.ListFindingsV2Response.Builderfindings(Consumer<FindingSummaryV2.Builder>... findings)A list of findings retrieved from the analyzer that match the filter criteria specified, if any.ListFindingsV2Response.Builderfindings(FindingSummaryV2... findings)A list of findings retrieved from the analyzer that match the filter criteria specified, if any.ListFindingsV2Response.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
ListFindingsV2Response.Builder findings(Collection<FindingSummaryV2> 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
ListFindingsV2Response.Builder findings(FindingSummaryV2... 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
ListFindingsV2Response.Builder findings(Consumer<FindingSummaryV2.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 theFindingSummaryV2.Builderavoiding the need to create one manually viaFindingSummaryV2.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 onFindingSummaryV2.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#findings(java.util.Collection)
-
nextToken
ListFindingsV2Response.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.
-
-