Interface BatchDeleteAgentsResponse.Builder
- All Superinterfaces:
ApplicationDiscoveryResponse.Builder,AwsResponse.Builder,Buildable,CopyableBuilder<BatchDeleteAgentsResponse.Builder,,BatchDeleteAgentsResponse> SdkBuilder<BatchDeleteAgentsResponse.Builder,,BatchDeleteAgentsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
BatchDeleteAgentsResponse
@Mutable
@NotThreadSafe
public static interface BatchDeleteAgentsResponse.Builder
extends ApplicationDiscoveryResponse.Builder, SdkPojo, CopyableBuilder<BatchDeleteAgentsResponse.Builder,BatchDeleteAgentsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionerrors(Collection<BatchDeleteAgentError> errors) A list of agent IDs that failed to delete during the deletion task, each paired with an error message.errors(Consumer<BatchDeleteAgentError.Builder>... errors) A list of agent IDs that failed to delete during the deletion task, each paired with an error message.errors(BatchDeleteAgentError... errors) A list of agent IDs that failed to delete during the deletion task, each paired with an error message.Methods inherited from interface software.amazon.awssdk.services.applicationdiscovery.model.ApplicationDiscoveryResponse.Builder
build, responseMetadata, responseMetadataMethods 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, sdkHttpResponse
-
Method Details
-
errors
A list of agent IDs that failed to delete during the deletion task, each paired with an error message.
- Parameters:
errors- A list of agent IDs that failed to delete during the deletion task, each paired with an error message.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errors
A list of agent IDs that failed to delete during the deletion task, each paired with an error message.
- Parameters:
errors- A list of agent IDs that failed to delete during the deletion task, each paired with an error message.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errors
A list of agent IDs that failed to delete during the deletion task, each paired with an error message.
This is a convenience method that creates an instance of theBatchDeleteAgentError.Builderavoiding the need to create one manually viaBatchDeleteAgentError.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toerrors(List<BatchDeleteAgentError>).- Parameters:
errors- a consumer that will call methods onBatchDeleteAgentError.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-