你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

EventChannelSource Class

  • java.lang.Object
    • com.microsoft.azure.management.eventgrid.v2020_04_01_preview.EventChannelSource

public class EventChannelSource

Properties of the source of an event channel.

Constructor Summary

Constructor Description
EventChannelSource()

Method Summary

Modifier and Type Method and Description
java.lang.String source()

Get the identifier of the resource that's the source of the events.

EventChannelSource withSource(String source)

Set the identifier of the resource that's the source of the events.

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Constructor Details

EventChannelSource

public EventChannelSource()

Method Details

source

public String source()

Get the identifier of the resource that's the source of the events. This represents a unique resource in the partner's resource model.

Returns:

the source value

withSource

public EventChannelSource withSource(String source)

Set the identifier of the resource that's the source of the events. This represents a unique resource in the partner's resource model.

Parameters:

source - the source value to set

Returns:

the EventChannelSource object itself.

Applies to