Interface RelatedChange.Builder

  • Method Details

    • changeId

      RelatedChange.Builder changeId(String changeId)

      The identifier of the change.

      Parameters:
      changeId - The identifier of the change.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • changedAt

      RelatedChange.Builder changedAt(Instant changedAt)

      When the change happened at its source.

      Parameters:
      changedAt - When the change happened at its source.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • type

      The kind of change.

      Parameters:
      type - The kind of change.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • type

      The kind of change.

      Parameters:
      type - The kind of change.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • source

      RelatedChange.Builder source(String source)

      The system that reported the change.

      Parameters:
      source - The system that reported the change.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • summary

      RelatedChange.Builder summary(String summary)

      One line on what the change did.

      Parameters:
      summary - One line on what the change did.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • node

      The node where the change happened, in the same shape as an affected node.

      Parameters:
      node - The node where the change happened, in the same shape as an affected node.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • node

      The node where the change happened, in the same shape as an affected node.

      This is a convenience method that creates an instance of the ObservationNode.Builder avoiding the need to create one manually via ObservationNode.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to node(ObservationNode).

      Parameters:
      node - a consumer that will call methods on ObservationNode.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: