Interface AssociatedSegment.Builder

  • Method Details

    • segmentName

      AssociatedSegment.Builder segmentName(String segmentName)

      The unique name of the segment definition.

      Parameters:
      segmentName - The unique name of the segment definition.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • status

      The subscription status of the segment. The following are valid values:

      • STARTING: The segment is being prepared to publish membership events.

      • RUNNING: The segment is actively publishing membership events to the stream.

      • STOPPED: The segment has stopped publishing membership events.

      • FAILED: The segment failed to publish membership events.

      Parameters:
      status - The subscription status of the segment. The following are valid values:

      • STARTING: The segment is being prepared to publish membership events.

      • RUNNING: The segment is actively publishing membership events to the stream.

      • STOPPED: The segment has stopped publishing membership events.

      • FAILED: The segment failed to publish membership events.

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

      The subscription status of the segment. The following are valid values:

      • STARTING: The segment is being prepared to publish membership events.

      • RUNNING: The segment is actively publishing membership events to the stream.

      • STOPPED: The segment has stopped publishing membership events.

      • FAILED: The segment failed to publish membership events.

      Parameters:
      status - The subscription status of the segment. The following are valid values:

      • STARTING: The segment is being prepared to publish membership events.

      • RUNNING: The segment is actively publishing membership events to the stream.

      • STOPPED: The segment has stopped publishing membership events.

      • FAILED: The segment failed to publish membership events.

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

      An optional message providing context, such as a failure reason.

      Parameters:
      message - An optional message providing context, such as a failure reason.
      Returns:
      Returns a reference to this object so that method calls can be chained together.