Interface BatchDeleteCodeReviewsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<BatchDeleteCodeReviewsResponse.Builder,,BatchDeleteCodeReviewsResponse> SdkBuilder<BatchDeleteCodeReviewsResponse.Builder,,BatchDeleteCodeReviewsResponse> SdkPojo,SdkResponse.Builder,SecurityAgentResponse.Builder
- Enclosing class:
BatchDeleteCodeReviewsResponse
@Mutable
@NotThreadSafe
public static interface BatchDeleteCodeReviewsResponse.Builder
extends SecurityAgentResponse.Builder, SdkPojo, CopyableBuilder<BatchDeleteCodeReviewsResponse.Builder,BatchDeleteCodeReviewsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe list of identifiers of the code reviews that were successfully deleted.deleted(Collection<String> deleted) The list of identifiers of the code reviews that were successfully deleted.failed(Collection<DeleteCodeReviewFailure> failed) The list of code reviews that failed to delete, including the reason for each failure.failed(Consumer<DeleteCodeReviewFailure.Builder>... failed) The list of code reviews that failed to delete, including the reason for each failure.failed(DeleteCodeReviewFailure... failed) The list of code reviews that failed to delete, including the reason for each failure.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
-
deleted
The list of identifiers of the code reviews that were successfully deleted.
- Parameters:
deleted- The list of identifiers of the code reviews that were successfully deleted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deleted
The list of identifiers of the code reviews that were successfully deleted.
- Parameters:
deleted- The list of identifiers of the code reviews that were successfully deleted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failed
The list of code reviews that failed to delete, including the reason for each failure.
- Parameters:
failed- The list of code reviews that failed to delete, including the reason for each failure.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failed
The list of code reviews that failed to delete, including the reason for each failure.
- Parameters:
failed- The list of code reviews that failed to delete, including the reason for each failure.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failed
The list of code reviews that failed to delete, including the reason for each failure.
This is a convenience method that creates an instance of theDeleteCodeReviewFailure.Builderavoiding the need to create one manually viaDeleteCodeReviewFailure.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofailed(List<DeleteCodeReviewFailure>).- Parameters:
failed- a consumer that will call methods onDeleteCodeReviewFailure.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-