Skip to content

/AWS1/CL_CUSASSOCIATEDSEGMENT

Represents a segment associated with a membership event stream.

CONSTRUCTOR

IMPORTING

Optional arguments:

iv_segmentname TYPE /AWS1/CUSNAME /AWS1/CUSNAME

The unique name of the segment definition.

iv_status TYPE /AWS1/CUSEVTSUBSCREGMENTSTATUS /AWS1/CUSEVTSUBSCREGMENTSTATUS

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.

iv_message TYPE /AWS1/CUSSTRING1TO1000 /AWS1/CUSSTRING1TO1000

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


Queryable Attributes

SegmentName

The unique name of the segment definition.

Accessible with the following methods

Method Description
GET_SEGMENTNAME() Getter for SEGMENTNAME, with configurable default
ASK_SEGMENTNAME() Getter for SEGMENTNAME w/ exceptions if field has no value
HAS_SEGMENTNAME() Determine if SEGMENTNAME has a value

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.

Accessible with the following methods

Method Description
GET_STATUS() Getter for STATUS, with configurable default
ASK_STATUS() Getter for STATUS w/ exceptions if field has no value
HAS_STATUS() Determine if STATUS has a value

Message

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

Accessible with the following methods

Method Description
GET_MESSAGE() Getter for MESSAGE, with configurable default
ASK_MESSAGE() Getter for MESSAGE w/ exceptions if field has no value
HAS_MESSAGE() Determine if MESSAGE has a value

Public Local Types In This Class

Internal table types, representing arrays and maps of this class, are defined as local types:

TT_ASSOCIATEDSEGMENTSLIST

TYPES TT_ASSOCIATEDSEGMENTSLIST TYPE STANDARD TABLE OF REF TO /AWS1/CL_CUSASSOCIATEDSEGMENT WITH DEFAULT KEY
.