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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BatchDeleteDetectorResponse.BuilderbatchDeleteDetectorErrorEntries(Collection<BatchDeleteDetectorErrorEntry> batchDeleteDetectorErrorEntries)A list of errors associated with the request, or an empty array ([]) if there are no errors.BatchDeleteDetectorResponse.BuilderbatchDeleteDetectorErrorEntries(Consumer<BatchDeleteDetectorErrorEntry.Builder>... batchDeleteDetectorErrorEntries)A list of errors associated with the request, or an empty array ([]) if there are no errors.BatchDeleteDetectorResponse.BuilderbatchDeleteDetectorErrorEntries(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
copy
-
Methods inherited from interface software.amazon.awssdk.services.ioteventsdata.model.IotEventsDataResponse.Builder
build, responseMetadata, responseMetadata
-
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 Detail
-
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 to#batchDeleteDetectorErrorEntries(List.) - 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:
#batchDeleteDetectorErrorEntries(java.util.Collection)
-
-