Share via


ExtensionTopicInner Class

public final class ExtensionTopicInner
extends ProxyResource

Event grid Extension Topic. This is used for getting Event Grid related metrics for Azure resources.

Constructor Summary

Constructor Description
ExtensionTopicInner()

Creates an instance of ExtensionTopicInner class.

Method Summary

Modifier and Type Method and Description
String description()

Get the description property: Description of the extension topic.

static ExtensionTopicInner fromJson(JsonReader jsonReader)

Reads an instance of ExtensionTopicInner from the JsonReader.

String id()

Get the id property: Fully qualified resource Id for the resource.

String name()

Get the name property: The name of the resource.

SystemData systemData()

Get the systemData property: The system metadata relating to the Event Grid resource.

String systemTopic()

Get the systemTopic property: System topic resource id which is mapped to the source.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

ExtensionTopicInner withDescription(String description)

Set the description property: Description of the extension topic.

ExtensionTopicInner withSystemTopic(String systemTopic)

Set the systemTopic property: System topic resource id which is mapped to the source.

Methods inherited from ProxyResource

Methods inherited from java.lang.Object

Constructor Details

ExtensionTopicInner

public ExtensionTopicInner()

Creates an instance of ExtensionTopicInner class.

Method Details

description

public String description()

Get the description property: Description of the extension topic.

Returns:

the description value.

fromJson

public static ExtensionTopicInner fromJson(JsonReader jsonReader)

Reads an instance of ExtensionTopicInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of ExtensionTopicInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

id

public String id()

Get the id property: Fully qualified resource Id for the resource.

Overrides:

ExtensionTopicInner.id()

Returns:

the id value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

ExtensionTopicInner.name()

Returns:

the name value.

systemData

public SystemData systemData()

Get the systemData property: The system metadata relating to the Event Grid resource.

Returns:

the systemData value.

systemTopic

public String systemTopic()

Get the systemTopic property: System topic resource id which is mapped to the source.

Returns:

the systemTopic value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

ExtensionTopicInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

ExtensionTopicInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

withDescription

public ExtensionTopicInner withDescription(String description)

Set the description property: Description of the extension topic.

Parameters:

description - the description value to set.

Returns:

the ExtensionTopicInner object itself.

withSystemTopic

public ExtensionTopicInner withSystemTopic(String systemTopic)

Set the systemTopic property: System topic resource id which is mapped to the source.

Parameters:

systemTopic - the systemTopic value to set.

Returns:

the ExtensionTopicInner object itself.

Applies to