Interface AlarmContributor.Builder

All Superinterfaces:
Buildable, CopyableBuilder<AlarmContributor.Builder,AlarmContributor>, SdkBuilder<AlarmContributor.Builder,AlarmContributor>, SdkPojo
Enclosing class:
AlarmContributor

@Mutable @NotThreadSafe public static interface AlarmContributor.Builder extends SdkPojo, CopyableBuilder<AlarmContributor.Builder,AlarmContributor>
  • Method Details

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