Interface BatchUpdateDetectorRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<BatchUpdateDetectorRequest.Builder,,BatchUpdateDetectorRequest> IotEventsDataRequest.Builder,SdkBuilder<BatchUpdateDetectorRequest.Builder,,BatchUpdateDetectorRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
BatchUpdateDetectorRequest
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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.ioteventsdata.model.IotEventsDataRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, 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.Builderavoiding the need to create one manually viaUpdateDetectorRequest.builder().When the
Consumercompletes,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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-