Interface BatchGetFindingsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<BatchGetFindingsResponse.Builder,,BatchGetFindingsResponse> SdkBuilder<BatchGetFindingsResponse.Builder,,BatchGetFindingsResponse> SdkPojo,SdkResponse.Builder,SecurityAgentResponse.Builder
- Enclosing class:
BatchGetFindingsResponse
@Mutable
@NotThreadSafe
public static interface BatchGetFindingsResponse.Builder
extends SecurityAgentResponse.Builder, SdkPojo, CopyableBuilder<BatchGetFindingsResponse.Builder,BatchGetFindingsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionfindings(Collection<Finding> findings) The list of findings that were found.findings(Consumer<Finding.Builder>... findings) The list of findings that were found.The list of findings that were found.The list of finding identifiers that were not found.notFound(Collection<String> notFound) The list of finding identifiers that were not found.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
-
findings
The list of findings that were found.
- Parameters:
findings- The list of findings that were found.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
findings
The list of findings that were found.
- Parameters:
findings- The list of findings that were found.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
findings
The list of findings that were found.
This is a convenience method that creates an instance of theFinding.Builderavoiding the need to create one manually viaFinding.builder().When the
Consumercompletes,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:
-
notFound
The list of finding identifiers that were not found.
- Parameters:
notFound- The list of finding identifiers that were not found.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notFound
The list of finding identifiers that were not found.
- Parameters:
notFound- The list of finding identifiers that were not found.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-