Interface DetectorModelConfiguration.Builder

    • Method Detail

      • detectorModelName

        DetectorModelConfiguration.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.
      • detectorModelVersion

        DetectorModelConfiguration.Builder detectorModelVersion​(String detectorModelVersion)

        The version of the detector model.

        Parameters:
        detectorModelVersion - The version of the detector model.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • detectorModelDescription

        DetectorModelConfiguration.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.
      • detectorModelArn

        DetectorModelConfiguration.Builder detectorModelArn​(String detectorModelArn)

        The ARN of the detector model.

        Parameters:
        detectorModelArn - The ARN of the detector model.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • roleArn

        DetectorModelConfiguration.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.
      • creationTime

        DetectorModelConfiguration.Builder creationTime​(Instant creationTime)

        The time the detector model was created.

        Parameters:
        creationTime - The time the detector model was created.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • lastUpdateTime

        DetectorModelConfiguration.Builder lastUpdateTime​(Instant lastUpdateTime)

        The time the detector model was last updated.

        Parameters:
        lastUpdateTime - The time the detector model was last updated.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • key

        DetectorModelConfiguration.Builder key​(String key)

        The value used to identify a detector instance. When a device or system sends input, a new detector instance with a unique key value is created. AWS IoT Events can continue to route input to its corresponding detector instance based on this identifying information.

        This parameter uses a JSON-path expression to select the attribute-value pair in the message payload that is used for identification. To route the message to the correct detector instance, the device must send a message payload that contains the same attribute-value.

        Parameters:
        key - The value used to identify a detector instance. When a device or system sends input, a new detector instance with a unique key value is created. AWS IoT Events can continue to route input to its corresponding detector instance based on this identifying information.

        This parameter uses a JSON-path expression to select the attribute-value pair in the message payload that is used for identification. To route the message to the correct detector instance, the device must send a message payload that contains the same attribute-value.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • evaluationMethod

        DetectorModelConfiguration.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

        DetectorModelConfiguration.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