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