Interface ActiveViolation.Builder

    • Method Detail

      • violationId

        ActiveViolation.Builder violationId​(String violationId)

        The ID of the active violation.

        Parameters:
        violationId - The ID of the active violation.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • thingName

        ActiveViolation.Builder thingName​(String thingName)

        The name of the thing responsible for the active violation.

        Parameters:
        thingName - The name of the thing responsible for the active violation.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • securityProfileName

        ActiveViolation.Builder securityProfileName​(String securityProfileName)

        The security profile with the behavior is in violation.

        Parameters:
        securityProfileName - The security profile with the behavior is in violation.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • behavior

        ActiveViolation.Builder behavior​(Behavior behavior)

        The behavior that is being violated.

        Parameters:
        behavior - The behavior that is being violated.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • lastViolationValue

        ActiveViolation.Builder lastViolationValue​(MetricValue lastViolationValue)

        The value of the metric (the measurement) that caused the most recent violation.

        Parameters:
        lastViolationValue - The value of the metric (the measurement) that caused the most recent violation.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • violationEventAdditionalInfo

        ActiveViolation.Builder violationEventAdditionalInfo​(ViolationEventAdditionalInfo violationEventAdditionalInfo)

        The details of a violation event.

        Parameters:
        violationEventAdditionalInfo - The details of a violation event.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • verificationState

        ActiveViolation.Builder verificationState​(String verificationState)

        The verification state of the violation (detect alarm).

        Parameters:
        verificationState - The verification state of the violation (detect alarm).
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        VerificationState, VerificationState
      • verificationState

        ActiveViolation.Builder verificationState​(VerificationState verificationState)

        The verification state of the violation (detect alarm).

        Parameters:
        verificationState - The verification state of the violation (detect alarm).
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        VerificationState, VerificationState
      • verificationStateDescription

        ActiveViolation.Builder verificationStateDescription​(String verificationStateDescription)

        The description of the verification state of the violation.

        Parameters:
        verificationStateDescription - The description of the verification state of the violation.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • lastViolationTime

        ActiveViolation.Builder lastViolationTime​(Instant lastViolationTime)

        The time the most recent violation occurred.

        Parameters:
        lastViolationTime - The time the most recent violation occurred.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • violationStartTime

        ActiveViolation.Builder violationStartTime​(Instant violationStartTime)

        The time the violation started.

        Parameters:
        violationStartTime - The time the violation started.
        Returns:
        Returns a reference to this object so that method calls can be chained together.