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
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 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 amessageId
that 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 amessageId
that 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 amessageId
that 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 amessageId
that 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 amessageId
that helps you identify the entry that failed.BatchDeleteDetectorErrorEntry.Builder
avoiding the need to create one manually viaBatchDeleteDetectorErrorEntry.builder()
.When the
Consumer
completes,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:
-