Interface BatchGetIncidentFindingsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<BatchGetIncidentFindingsResponse.Builder,
,BatchGetIncidentFindingsResponse> SdkBuilder<BatchGetIncidentFindingsResponse.Builder,
,BatchGetIncidentFindingsResponse> SdkPojo
,SdkResponse.Builder
,SsmIncidentsResponse.Builder
- Enclosing class:
BatchGetIncidentFindingsResponse
@Mutable
@NotThreadSafe
public static interface BatchGetIncidentFindingsResponse.Builder
extends SsmIncidentsResponse.Builder, SdkPojo, CopyableBuilder<BatchGetIncidentFindingsResponse.Builder,BatchGetIncidentFindingsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionA list of errors encountered during the operation.errors
(Consumer<BatchGetIncidentFindingsError.Builder>... errors) A list of errors encountered during the operation.errors
(BatchGetIncidentFindingsError... errors) A list of errors encountered during the operation.findings
(Collection<Finding> findings) Information about the requested findings.findings
(Consumer<Finding.Builder>... findings) Information about the requested findings.Information about the requested findings.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, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
Methods inherited from interface software.amazon.awssdk.services.ssmincidents.model.SsmIncidentsResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
errors
A list of errors encountered during the operation.
- Parameters:
errors
- A list of errors encountered during the operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errors
A list of errors encountered during the operation.
- Parameters:
errors
- A list of errors encountered during the operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errors
BatchGetIncidentFindingsResponse.Builder errors(Consumer<BatchGetIncidentFindingsError.Builder>... errors) A list of errors encountered during the operation.
This is a convenience method that creates an instance of theBatchGetIncidentFindingsError.Builder
avoiding the need to create one manually viaBatchGetIncidentFindingsError.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toerrors(List<BatchGetIncidentFindingsError>)
.- Parameters:
errors
- a consumer that will call methods onBatchGetIncidentFindingsError.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
findings
Information about the requested findings.
- Parameters:
findings
- Information about the requested findings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
findings
Information about the requested findings.
- Parameters:
findings
- Information about the requested findings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
findings
Information about the requested findings.
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:
-