Interface BatchUpdateDetectorRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<BatchUpdateDetectorRequest.Builder,
,BatchUpdateDetectorRequest> IotEventsDataRequest.Builder
,SdkBuilder<BatchUpdateDetectorRequest.Builder,
,BatchUpdateDetectorRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
BatchUpdateDetectorRequest
@Mutable
@NotThreadSafe
public static interface BatchUpdateDetectorRequest.Builder
extends IotEventsDataRequest.Builder, SdkPojo, CopyableBuilder<BatchUpdateDetectorRequest.Builder,BatchUpdateDetectorRequest>
-
Method Summary
Modifier and TypeMethodDescriptiondetectors
(Collection<UpdateDetectorRequest> detectors) The list of detectors (instances) to update, along with the values to update.detectors
(Consumer<UpdateDetectorRequest.Builder>... detectors) The list of detectors (instances) to update, along with the values to update.detectors
(UpdateDetectorRequest... detectors) The list of detectors (instances) to update, along with the values to update.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.ioteventsdata.model.IotEventsDataRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
detectors
The list of detectors (instances) to update, along with the values to update.
- Parameters:
detectors
- The list of detectors (instances) to update, along with the values to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
detectors
The list of detectors (instances) to update, along with the values to update.
- Parameters:
detectors
- The list of detectors (instances) to update, along with the values to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
detectors
The list of detectors (instances) to update, along with the values to update.
This is a convenience method that creates an instance of theUpdateDetectorRequest.Builder
avoiding the need to create one manually viaUpdateDetectorRequest.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todetectors(List<UpdateDetectorRequest>)
.- Parameters:
detectors
- a consumer that will call methods onUpdateDetectorRequest.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
BatchUpdateDetectorRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
BatchUpdateDetectorRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-