Interface BatchUpdateDetectorResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<BatchUpdateDetectorResponse.Builder,
,BatchUpdateDetectorResponse> IotEventsDataResponse.Builder
,SdkBuilder<BatchUpdateDetectorResponse.Builder,
,BatchUpdateDetectorResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
BatchUpdateDetectorResponse
public static interface BatchUpdateDetectorResponse.Builder
extends IotEventsDataResponse.Builder, SdkPojo, CopyableBuilder<BatchUpdateDetectorResponse.Builder,BatchUpdateDetectorResponse>
-
Method Summary
Modifier and TypeMethodDescriptionbatchUpdateDetectorErrorEntries
(Collection<BatchUpdateDetectorErrorEntry> batchUpdateDetectorErrorEntries) A list of those detector updates that resulted in errors.batchUpdateDetectorErrorEntries
(Consumer<BatchUpdateDetectorErrorEntry.Builder>... batchUpdateDetectorErrorEntries) A list of those detector updates that resulted in errors.batchUpdateDetectorErrorEntries
(BatchUpdateDetectorErrorEntry... batchUpdateDetectorErrorEntries) A list of those detector updates that resulted in 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
-
batchUpdateDetectorErrorEntries
BatchUpdateDetectorResponse.Builder batchUpdateDetectorErrorEntries(Collection<BatchUpdateDetectorErrorEntry> batchUpdateDetectorErrorEntries) A list of those detector updates that resulted in errors. (If an error is listed here, the specific update did not occur.)
- Parameters:
batchUpdateDetectorErrorEntries
- A list of those detector updates that resulted in errors. (If an error is listed here, the specific update did not occur.)- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
batchUpdateDetectorErrorEntries
BatchUpdateDetectorResponse.Builder batchUpdateDetectorErrorEntries(BatchUpdateDetectorErrorEntry... batchUpdateDetectorErrorEntries) A list of those detector updates that resulted in errors. (If an error is listed here, the specific update did not occur.)
- Parameters:
batchUpdateDetectorErrorEntries
- A list of those detector updates that resulted in errors. (If an error is listed here, the specific update did not occur.)- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
batchUpdateDetectorErrorEntries
BatchUpdateDetectorResponse.Builder batchUpdateDetectorErrorEntries(Consumer<BatchUpdateDetectorErrorEntry.Builder>... batchUpdateDetectorErrorEntries) A list of those detector updates that resulted in errors. (If an error is listed here, the specific update did not occur.)
This is a convenience method that creates an instance of theBatchUpdateDetectorErrorEntry.Builder
avoiding the need to create one manually viaBatchUpdateDetectorErrorEntry.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tobatchUpdateDetectorErrorEntries(List<BatchUpdateDetectorErrorEntry>)
.- Parameters:
batchUpdateDetectorErrorEntries
- a consumer that will call methods onBatchUpdateDetectorErrorEntry.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-