PartnerTopicRoutingMode Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. eventgrid. models. PartnerTopicRoutingMode
- com.
- com.
public final class PartnerTopicRoutingMode
extends ExpandableStringEnum<PartnerTopicRoutingMode>
This determines if events published to this partner namespace should use the source attribute in the event payload or use the channel name in the header when matching to the partner topic. If none is specified, source attribute routing will be used to match the partner topic.
Field Summary
| Modifier and Type | Field and Description |
|---|---|
|
static final
Partner |
CHANNEL_NAME_HEADER
Static value Channel |
|
static final
Partner |
SOURCE_EVENT_ATTRIBUTE
Static value Source |
Constructor Summary
| Constructor | Description |
|---|---|
| PartnerTopicRoutingMode() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Partner |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Partner |
fromString(String name)
Creates or finds a Partner |
|
static
Collection<Partner |
values()
Gets known Partner |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
CHANNEL_NAME_HEADER
public static final PartnerTopicRoutingMode CHANNEL_NAME_HEADER
Static value ChannelNameHeader for PartnerTopicRoutingMode.
SOURCE_EVENT_ATTRIBUTE
public static final PartnerTopicRoutingMode SOURCE_EVENT_ATTRIBUTE
Static value SourceEventAttribute for PartnerTopicRoutingMode.
Constructor Details
PartnerTopicRoutingMode
@Deprecated
public PartnerTopicRoutingMode()
Deprecated
Creates a new instance of PartnerTopicRoutingMode value.
Method Details
fromString
public static PartnerTopicRoutingMode fromString(String name)
Creates or finds a PartnerTopicRoutingMode from its string representation.
Parameters:
Returns:
values
public static Collection<PartnerTopicRoutingMode> values()
Gets known PartnerTopicRoutingMode values.
Returns: