Interface CreateDetectorModelRequest.Builder

    • 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.
      • 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 the Tag.Builder avoiding the need to create one manually via Tag.builder().

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #tags(List).

        Parameters:
        tags - a consumer that will call methods on Tag.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