Interface UpdateDetectorModelRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateDetectorModelRequest.Builder,
,UpdateDetectorModelRequest> IotEventsRequest.Builder
,SdkBuilder<UpdateDetectorModelRequest.Builder,
,UpdateDetectorModelRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdateDetectorModelRequest
public static interface UpdateDetectorModelRequest.Builder
extends IotEventsRequest.Builder, SdkPojo, CopyableBuilder<UpdateDetectorModelRequest.Builder,UpdateDetectorModelRequest>
-
Method Summary
Modifier and TypeMethodDescriptiondetectorModelDefinition
(Consumer<DetectorModelDefinition.Builder> detectorModelDefinition) Information that defines how a detector operates.detectorModelDefinition
(DetectorModelDefinition detectorModelDefinition) Information that defines how a detector operates.detectorModelDescription
(String detectorModelDescription) A brief description of the detector model.detectorModelName
(String detectorModelName) The name of the detector model that is updated.evaluationMethod
(String evaluationMethod) Information about the order in which events are evaluated and how actions are executed.evaluationMethod
(EvaluationMethod evaluationMethod) Information about the order in which events are evaluated and how actions are executed.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The ARN of the role that grants permission to AWS IoT Events to perform its operations.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.iotevents.model.IotEventsRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
detectorModelName
The name of the detector model that is updated.
- Parameters:
detectorModelName
- The name of the detector model that is updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
detectorModelDefinition
UpdateDetectorModelRequest.Builder detectorModelDefinition(DetectorModelDefinition detectorModelDefinition) Information that defines how a detector operates.
- Parameters:
detectorModelDefinition
- Information that defines how a detector operates.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
detectorModelDefinition
default UpdateDetectorModelRequest.Builder detectorModelDefinition(Consumer<DetectorModelDefinition.Builder> detectorModelDefinition) Information that defines how a detector operates.
This is a convenience method that creates an instance of theDetectorModelDefinition.Builder
avoiding the need to create one manually viaDetectorModelDefinition.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todetectorModelDefinition(DetectorModelDefinition)
.- Parameters:
detectorModelDefinition
- a consumer that will call methods onDetectorModelDefinition.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
detectorModelDescription
A brief description of the detector model.
- Parameters:
detectorModelDescription
- A brief description of the detector model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
roleArn
The ARN of the role that grants permission to AWS IoT Events to perform its operations.
- Parameters:
roleArn
- The ARN of the role that grants permission to AWS IoT Events to perform its operations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
evaluationMethod
Information about the order in which events are evaluated and how actions are executed.
- Parameters:
evaluationMethod
- Information about the order in which events are evaluated and how actions are executed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
evaluationMethod
Information about the order in which events are evaluated and how actions are executed.
- Parameters:
evaluationMethod
- Information about the order in which events are evaluated and how actions are executed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
UpdateDetectorModelRequest.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
UpdateDetectorModelRequest.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.
-