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) List of successfully retrieved findingsfindings(Consumer<Finding.Builder>... findings) List of successfully retrieved findingsList of successfully retrieved findingsList of finding IDs that could not be foundnotFound(Collection<String> notFound) List of finding IDs that could not be foundMethods 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
List of successfully retrieved findings
- Parameters:
findings- List of successfully retrieved findings- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
findings
List of successfully retrieved findings
- Parameters:
findings- List of successfully retrieved findings- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
findings
List of successfully retrieved findings
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
List of finding IDs that could not be found
- Parameters:
notFound- List of finding IDs that could not be found- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notFound
List of finding IDs that could not be found
- Parameters:
notFound- List of finding IDs that could not be found- Returns:
- Returns a reference to this object so that method calls can be chained together.
-