Interface BatchGetIncidentFindingsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<BatchGetIncidentFindingsResponse.Builder,,BatchGetIncidentFindingsResponse> SdkBuilder<BatchGetIncidentFindingsResponse.Builder,,BatchGetIncidentFindingsResponse> SdkPojo,SdkResponse.Builder,SsmIncidentsResponse.Builder
- Enclosing class:
BatchGetIncidentFindingsResponse
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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponseMethods 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.Builderavoiding the need to create one manually viaBatchGetIncidentFindingsError.builder().When the
Consumercompletes,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.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:
-