Interface CreateDetectorModelRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateDetectorModelRequest.Builder,
,CreateDetectorModelRequest> IotEventsRequest.Builder
,SdkBuilder<CreateDetectorModelRequest.Builder,
,CreateDetectorModelRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateDetectorModelRequest
-
Method Summary
Modifier and TypeMethodDescriptiondetectorModelDefinition
(Consumer<DetectorModelDefinition.Builder> detectorModelDefinition) Information that defines how the detectors operate.detectorModelDefinition
(DetectorModelDefinition detectorModelDefinition) Information that defines how the detectors operate.detectorModelDescription
(String detectorModelDescription) A brief description of the detector model.detectorModelName
(String detectorModelName) The name of the detector model.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.The input attribute key used to identify a device or system to create a detector (an instance of the detector model) and then to route each input received to the appropriate detector (instance).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.tags
(Collection<Tag> tags) Metadata that can be used to manage the detector model.tags
(Consumer<Tag.Builder>... tags) Metadata that can be used to manage the detector model.Metadata that can be used to manage the detector model.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.
- Parameters:
detectorModelName
- The name of the detector model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
detectorModelDefinition
CreateDetectorModelRequest.Builder detectorModelDefinition(DetectorModelDefinition detectorModelDefinition) Information that defines how the detectors operate.
- Parameters:
detectorModelDefinition
- Information that defines how the detectors operate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
detectorModelDefinition
default CreateDetectorModelRequest.Builder detectorModelDefinition(Consumer<DetectorModelDefinition.Builder> detectorModelDefinition) Information that defines how the detectors operate.
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.
-
key
The input attribute key used to identify a device or system to create a detector (an instance of the detector model) and then to route each input received to the appropriate detector (instance). This parameter uses a JSON-path expression in the message payload of each input to specify the attribute-value pair that is used to identify the device associated with the input.
- Parameters:
key
- The input attribute key used to identify a device or system to create a detector (an instance of the detector model) and then to route each input received to the appropriate detector (instance). This parameter uses a JSON-path expression in the message payload of each input to specify the attribute-value pair that is used to identify the device associated with the input.- 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.
-
tags
Metadata that can be used to manage the detector model.
- Parameters:
tags
- Metadata that can be used to manage the detector model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Metadata that can be used to manage the detector model.
- Parameters:
tags
- Metadata that can be used to manage the detector model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Metadata that can be used to manage the detector model.
This is a convenience method that creates an instance of theTag.Builder
avoiding the need to create one manually viaTag.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totags(List<Tag>)
.- Parameters:
tags
- a consumer that will call methods onTag.Builder
- 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:
-
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
CreateDetectorModelRequest.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
CreateDetectorModelRequest.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.
-