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, 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
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.Builderavoiding the need to create one manually viaBatchDeleteImportDataError.builder().When the
Consumercompletes,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:
-