Interface BatchDeleteDetectorResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<BatchDeleteDetectorResponse.Builder,,BatchDeleteDetectorResponse> IotEventsDataResponse.Builder,SdkBuilder<BatchDeleteDetectorResponse.Builder,,BatchDeleteDetectorResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
BatchDeleteDetectorResponse
public static interface BatchDeleteDetectorResponse.Builder
extends IotEventsDataResponse.Builder, SdkPojo, CopyableBuilder<BatchDeleteDetectorResponse.Builder,BatchDeleteDetectorResponse>
-
Method Summary
Modifier and TypeMethodDescriptionbatchDeleteDetectorErrorEntries(Collection<BatchDeleteDetectorErrorEntry> batchDeleteDetectorErrorEntries) A list of errors associated with the request, or an empty array ([]) if there are no errors.batchDeleteDetectorErrorEntries(Consumer<BatchDeleteDetectorErrorEntry.Builder>... batchDeleteDetectorErrorEntries) A list of errors associated with the request, or an empty array ([]) if there are no errors.batchDeleteDetectorErrorEntries(BatchDeleteDetectorErrorEntry... batchDeleteDetectorErrorEntries) A list of errors associated with the request, or an empty array ([]) if there are no errors.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.ioteventsdata.model.IotEventsDataResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
batchDeleteDetectorErrorEntries
BatchDeleteDetectorResponse.Builder batchDeleteDetectorErrorEntries(Collection<BatchDeleteDetectorErrorEntry> batchDeleteDetectorErrorEntries) A list of errors associated with the request, or an empty array (
[]) if there are no errors. Each error entry contains amessageIdthat helps you identify the entry that failed.- Parameters:
batchDeleteDetectorErrorEntries- A list of errors associated with the request, or an empty array ([]) if there are no errors. Each error entry contains amessageIdthat helps you identify the entry that failed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
batchDeleteDetectorErrorEntries
BatchDeleteDetectorResponse.Builder batchDeleteDetectorErrorEntries(BatchDeleteDetectorErrorEntry... batchDeleteDetectorErrorEntries) A list of errors associated with the request, or an empty array (
[]) if there are no errors. Each error entry contains amessageIdthat helps you identify the entry that failed.- Parameters:
batchDeleteDetectorErrorEntries- A list of errors associated with the request, or an empty array ([]) if there are no errors. Each error entry contains amessageIdthat helps you identify the entry that failed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
batchDeleteDetectorErrorEntries
BatchDeleteDetectorResponse.Builder batchDeleteDetectorErrorEntries(Consumer<BatchDeleteDetectorErrorEntry.Builder>... batchDeleteDetectorErrorEntries) A list of errors associated with the request, or an empty array (
This is a convenience method that creates an instance of the[]) if there are no errors. Each error entry contains amessageIdthat helps you identify the entry that failed.BatchDeleteDetectorErrorEntry.Builderavoiding the need to create one manually viaBatchDeleteDetectorErrorEntry.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tobatchDeleteDetectorErrorEntries(List<BatchDeleteDetectorErrorEntry>).- Parameters:
batchDeleteDetectorErrorEntries- a consumer that will call methods onBatchDeleteDetectorErrorEntry.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-