Interface BatchDeleteImportDataResponse.Builder
- All Superinterfaces:
ApplicationDiscoveryResponse.Builder
,AwsResponse.Builder
,Buildable
,CopyableBuilder<BatchDeleteImportDataResponse.Builder,
,BatchDeleteImportDataResponse> SdkBuilder<BatchDeleteImportDataResponse.Builder,
,BatchDeleteImportDataResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
BatchDeleteImportDataResponse
@Mutable
@NotThreadSafe
public static interface BatchDeleteImportDataResponse.Builder
extends ApplicationDiscoveryResponse.Builder, SdkPojo, CopyableBuilder<BatchDeleteImportDataResponse.Builder,BatchDeleteImportDataResponse>
-
Method Summary
Modifier and TypeMethodDescriptionerrors
(Collection<BatchDeleteImportDataError> errors) Error messages returned for each import task that you deleted as a response for this command.errors
(Consumer<BatchDeleteImportDataError.Builder>... errors) Error messages returned for each import task that you deleted as a response for this command.errors
(BatchDeleteImportDataError... errors) Error messages returned for each import task that you deleted as a response for this command.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, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
errors
Error messages returned for each import task that you deleted as a response for this command.
- Parameters:
errors
- Error messages returned for each import task that you deleted as a response for this command.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errors
Error messages returned for each import task that you deleted as a response for this command.
- Parameters:
errors
- Error messages returned for each import task that you deleted as a response for this command.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errors
BatchDeleteImportDataResponse.Builder errors(Consumer<BatchDeleteImportDataError.Builder>... errors) Error messages returned for each import task that you deleted as a response for this command.
This is a convenience method that creates an instance of theBatchDeleteImportDataError.Builder
avoiding the need to create one manually viaBatchDeleteImportDataError.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toerrors(List<BatchDeleteImportDataError>)
.- Parameters:
errors
- a consumer that will call methods onBatchDeleteImportDataError.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-