Class SystemTopicProperties
- java.lang.Object
-
- com.azure.resourcemanager.eventgrid.fluent.models.SystemTopicProperties
-
public final class SystemTopicProperties extends Object
Properties of the System Topic.
-
-
Constructor Summary
Constructors Constructor Description SystemTopicProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringmetricResourceId()Get the metricResourceId property: Metric resource id for the system topic.ResourceProvisioningStateprovisioningState()Get the provisioningState property: Provisioning state of the system topic.Stringsource()Get the source property: Source for the system topic.StringtopicType()Get the topicType property: TopicType for the system topic.voidvalidate()Validates the instance.SystemTopicPropertieswithSource(String source)Set the source property: Source for the system topic.SystemTopicPropertieswithTopicType(String topicType)Set the topicType property: TopicType for the system topic.
-
-
-
Method Detail
-
provisioningState
public ResourceProvisioningState provisioningState()
Get the provisioningState property: Provisioning state of the system topic.- Returns:
- the provisioningState value.
-
source
public String source()
Get the source property: Source for the system topic.- Returns:
- the source value.
-
withSource
public SystemTopicProperties withSource(String source)
Set the source property: Source for the system topic.- Parameters:
source- the source value to set.- Returns:
- the SystemTopicProperties object itself.
-
topicType
public String topicType()
Get the topicType property: TopicType for the system topic.- Returns:
- the topicType value.
-
withTopicType
public SystemTopicProperties withTopicType(String topicType)
Set the topicType property: TopicType for the system topic.- Parameters:
topicType- the topicType value to set.- Returns:
- the SystemTopicProperties object itself.
-
metricResourceId
public String metricResourceId()
Get the metricResourceId property: Metric resource id for the system topic.- Returns:
- the metricResourceId value.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-