Interface BatchDeleteAgentsResponse.Builder
- All Superinterfaces:
ApplicationDiscoveryResponse.Builder
,AwsResponse.Builder
,Buildable
,CopyableBuilder<BatchDeleteAgentsResponse.Builder,
,BatchDeleteAgentsResponse> SdkBuilder<BatchDeleteAgentsResponse.Builder,
,BatchDeleteAgentsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
BatchDeleteAgentsResponse
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, responseMetadata
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, sdkFields
Methods 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.Builder
avoiding the need to create one manually viaBatchDeleteAgentError.builder()
.When the
Consumer
completes,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:
-