Share via


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