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 Summary
Modifier and TypeMethodDescriptionfindings
(Collection<Finding> findings) An array of objects, one for each finding that matches the criteria specified in the request.findings
(Consumer<Finding.Builder>... findings) An array of objects, one for each finding that matches the criteria specified in the request.An array of objects, one for each finding that matches the criteria specified in the request.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.macie2.model.Macie2Response.Builder
build, responseMetadata, responseMetadata
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 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
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 theFinding.Builder
avoiding the need to create one manually viaFinding.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofindings(List<Finding>)
.- Parameters:
findings
- a consumer that will call methods onFinding.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-