ExtensionTopicInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. eventgrid. fluent. models. ExtensionTopicInner
- com.
- com.
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 Extension |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
description()
Get the description property: Description of the extension topic. |
|
static
Extension |
fromJson(JsonReader jsonReader)
Reads an instance of Extension |
| String |
id()
Get the id property: Fully qualified resource Id for the resource. |
| String |
name()
Get the name property: The name of the resource. |
|
System |
systemData()
Get the system |
| String |
systemTopic()
Get the system |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
type()
Get the type property: The type of the resource. |
| void |
validate()
Validates the instance. |
|
Extension |
withDescription(String description)
Set the description property: Description of the extension topic. |
|
Extension |
withSystemTopic(String systemTopic)
Set the system |
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:
fromJson
public static ExtensionTopicInner fromJson(JsonReader jsonReader)
Reads an instance of ExtensionTopicInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
ExtensionTopicInner.id()Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
ExtensionTopicInner.name()Returns:
systemData
public SystemData systemData()
Get the systemData property: The system metadata relating to the Event Grid resource.
Returns:
systemTopic
public String systemTopic()
Get the systemTopic property: System topic resource id which is mapped to the source.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
ExtensionTopicInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
ExtensionTopicInner.type()Returns:
validate
public void validate()
Validates the instance.
withDescription
public ExtensionTopicInner withDescription(String description)
Set the description property: Description of the extension topic.
Parameters:
Returns:
withSystemTopic
public ExtensionTopicInner withSystemTopic(String systemTopic)
Set the systemTopic property: System topic resource id which is mapped to the source.
Parameters:
Returns: