Skip to content

/AWS1/CL_BDOTRAFFICSPLITENTRY

An entry in a traffic split configuration, defining a named variant with a weight and configuration bundle reference.

CONSTRUCTOR

IMPORTING

Required arguments:

iv_name TYPE /AWS1/BDOSTRING /AWS1/BDOSTRING

The name of this traffic split variant.

iv_weight TYPE /AWS1/BDOINTEGER /AWS1/BDOINTEGER

The percentage of traffic to route to this variant. Weights across all entries must sum to 100.

io_configurationbundle TYPE REF TO /AWS1/CL_BDOCONFBUNDLEREF /AWS1/CL_BDOCONFBUNDLEREF

The configuration bundle reference for this variant.

Optional arguments:

iv_description TYPE /AWS1/BDOSTRING /AWS1/BDOSTRING

The description of this traffic split variant.

it_metadata TYPE /AWS1/CL_BDOTRAFSPLITMETMAP_W=>TT_TRAFFICSPLITMETADATAMAP TT_TRAFFICSPLITMETADATAMAP

Key-value metadata associated with this traffic split variant.


Queryable Attributes

name

The name of this traffic split variant.

Accessible with the following methods

Method Description
GET_NAME() Getter for NAME, with configurable default
ASK_NAME() Getter for NAME w/ exceptions if field has no value
HAS_NAME() Determine if NAME has a value

weight

The percentage of traffic to route to this variant. Weights across all entries must sum to 100.

Accessible with the following methods

Method Description
GET_WEIGHT() Getter for WEIGHT, with configurable default
ASK_WEIGHT() Getter for WEIGHT w/ exceptions if field has no value
HAS_WEIGHT() Determine if WEIGHT has a value

configurationBundle

The configuration bundle reference for this variant.

Accessible with the following methods

Method Description
GET_CONFIGURATIONBUNDLE() Getter for CONFIGURATIONBUNDLE

description

The description of this traffic split variant.

Accessible with the following methods

Method Description
GET_DESCRIPTION() Getter for DESCRIPTION, with configurable default
ASK_DESCRIPTION() Getter for DESCRIPTION w/ exceptions if field has no value
HAS_DESCRIPTION() Determine if DESCRIPTION has a value

metadata

Key-value metadata associated with this traffic split variant.

Accessible with the following methods

Method Description
GET_METADATA() Getter for METADATA, with configurable default
ASK_METADATA() Getter for METADATA w/ exceptions if field has no value
HAS_METADATA() Determine if METADATA 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_TRAFFICSPLITENTRIES

TYPES TT_TRAFFICSPLITENTRIES TYPE STANDARD TABLE OF REF TO /AWS1/CL_BDOTRAFFICSPLITENTRY WITH DEFAULT KEY
.