Interface AlarmContributor.Builder

    • Method Detail

      • contributorId

        AlarmContributor.Builder contributorId​(String contributorId)

        The unique identifier for this alarm contributor.

        Parameters:
        contributorId - The unique identifier for this alarm contributor.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • contributorAttributes

        AlarmContributor.Builder contributorAttributes​(Map<String,​String> contributorAttributes)

        A map of attributes that describe the contributor, such as metric dimensions and other identifying characteristics.

        Parameters:
        contributorAttributes - A map of attributes that describe the contributor, such as metric dimensions and other identifying characteristics.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • stateReason

        AlarmContributor.Builder stateReason​(String stateReason)

        An explanation for the contributor's current state, providing context about why it is in its current condition.

        Parameters:
        stateReason - An explanation for the contributor's current state, providing context about why it is in its current condition.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • stateTransitionedTimestamp

        AlarmContributor.Builder stateTransitionedTimestamp​(Instant stateTransitionedTimestamp)

        The timestamp when the contributor last transitioned to its current state.

        Parameters:
        stateTransitionedTimestamp - The timestamp when the contributor last transitioned to its current state.
        Returns:
        Returns a reference to this object so that method calls can be chained together.