Interface DescribeFindingsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeFindingsResponse.Builder,
,DescribeFindingsResponse> InspectorResponse.Builder
,SdkBuilder<DescribeFindingsResponse.Builder,
,DescribeFindingsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeFindingsResponse
public static interface DescribeFindingsResponse.Builder
extends InspectorResponse.Builder, SdkPojo, CopyableBuilder<DescribeFindingsResponse.Builder,DescribeFindingsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionfailedItems
(Map<String, FailedItemDetails> failedItems) Finding details that cannot be described.findings
(Collection<Finding> findings) Information about the finding.findings
(Consumer<Finding.Builder>... findings) Information about the finding.Information about the finding.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.inspector.model.InspectorResponse.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
Information about the finding.
- Parameters:
findings
- Information about the finding.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
findings
Information about the finding.
- Parameters:
findings
- Information about the finding.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
findings
Information about the finding.
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:
-
failedItems
Finding details that cannot be described. An error code is provided for each failed item.
- Parameters:
failedItems
- Finding details that cannot be described. An error code is provided for each failed item.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-