Interface CreateDetectorModelRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateDetectorModelRequest.Builder,CreateDetectorModelRequest>,IotEventsRequest.Builder,SdkBuilder<CreateDetectorModelRequest.Builder,CreateDetectorModelRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateDetectorModelRequest
public static interface CreateDetectorModelRequest.Builder extends IotEventsRequest.Builder, SdkPojo, CopyableBuilder<CreateDetectorModelRequest.Builder,CreateDetectorModelRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default CreateDetectorModelRequest.BuilderdetectorModelDefinition(Consumer<DetectorModelDefinition.Builder> detectorModelDefinition)Information that defines how the detectors operate.CreateDetectorModelRequest.BuilderdetectorModelDefinition(DetectorModelDefinition detectorModelDefinition)Information that defines how the detectors operate.CreateDetectorModelRequest.BuilderdetectorModelDescription(String detectorModelDescription)A brief description of the detector model.CreateDetectorModelRequest.BuilderdetectorModelName(String detectorModelName)The name of the detector model.CreateDetectorModelRequest.BuilderevaluationMethod(String evaluationMethod)Information about the order in which events are evaluated and how actions are executed.CreateDetectorModelRequest.BuilderevaluationMethod(EvaluationMethod evaluationMethod)Information about the order in which events are evaluated and how actions are executed.CreateDetectorModelRequest.Builderkey(String 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).CreateDetectorModelRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateDetectorModelRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)CreateDetectorModelRequest.BuilderroleArn(String roleArn)The ARN of the role that grants permission to AWS IoT Events to perform its operations.CreateDetectorModelRequest.Buildertags(Collection<Tag> tags)Metadata that can be used to manage the detector model.CreateDetectorModelRequest.Buildertags(Consumer<Tag.Builder>... tags)Metadata that can be used to manage the detector model.CreateDetectorModelRequest.Buildertags(Tag... tags)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 Detail
-
detectorModelName
CreateDetectorModelRequest.Builder detectorModelName(String 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.Builderavoiding the need to create one manually viaDetectorModelDefinition.builder().When the
Consumercompletes,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:
detectorModelDefinition(DetectorModelDefinition)
-
detectorModelDescription
CreateDetectorModelRequest.Builder detectorModelDescription(String 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
CreateDetectorModelRequest.Builder key(String 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
CreateDetectorModelRequest.Builder roleArn(String 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
CreateDetectorModelRequest.Builder tags(Collection<Tag> 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
CreateDetectorModelRequest.Builder tags(Tag... 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
CreateDetectorModelRequest.Builder tags(Consumer<Tag.Builder>... tags)
Metadata that can be used to manage the detector model.
This is a convenience method that creates an instance of theTag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#tags(List.) - 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:
#tags(java.util.Collection)
-
evaluationMethod
CreateDetectorModelRequest.Builder evaluationMethod(String 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,EvaluationMethod
-
evaluationMethod
CreateDetectorModelRequest.Builder evaluationMethod(EvaluationMethod 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,EvaluationMethod
-
overrideConfiguration
CreateDetectorModelRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateDetectorModelRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-