Class SystemTopicInner
- java.lang.Object
-
- com.azure.core.management.ProxyResource
-
- com.azure.core.management.Resource
-
- com.azure.resourcemanager.eventgrid.fluent.models.SystemTopicInner
-
public final class SystemTopicInner extends com.azure.core.management.ResourceEventGrid System Topic.
-
-
Constructor Summary
Constructors Constructor Description SystemTopicInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IdentityInfoidentity()Get the identity property: Identity information for the resource.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.com.azure.core.management.SystemDatasystemData()Get the systemData property: The system metadata relating to System Topic resource.StringtopicType()Get the topicType property: TopicType for the system topic.voidvalidate()Validates the instance.SystemTopicInnerwithIdentity(IdentityInfo identity)Set the identity property: Identity information for the resource.SystemTopicInnerwithLocation(String location)SystemTopicInnerwithSource(String source)Set the source property: Source for the system topic.SystemTopicInnerwithTags(Map<String,String> tags)SystemTopicInnerwithTopicType(String topicType)Set the topicType property: TopicType for the system topic.
-
-
-
Method Detail
-
identity
public IdentityInfo identity()
Get the identity property: Identity information for the resource.- Returns:
- the identity value.
-
withIdentity
public SystemTopicInner withIdentity(IdentityInfo identity)
Set the identity property: Identity information for the resource.- Parameters:
identity- the identity value to set.- Returns:
- the SystemTopicInner object itself.
-
systemData
public com.azure.core.management.SystemData systemData()
Get the systemData property: The system metadata relating to System Topic resource.- Returns:
- the systemData value.
-
withLocation
public SystemTopicInner withLocation(String location)
- Overrides:
withLocationin classcom.azure.core.management.Resource
-
withTags
public SystemTopicInner withTags(Map<String,String> tags)
- Overrides:
withTagsin classcom.azure.core.management.Resource
-
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 SystemTopicInner withSource(String source)
Set the source property: Source for the system topic.- Parameters:
source- the source value to set.- Returns:
- the SystemTopicInner object itself.
-
topicType
public String topicType()
Get the topicType property: TopicType for the system topic.- Returns:
- the topicType value.
-
withTopicType
public SystemTopicInner withTopicType(String topicType)
Set the topicType property: TopicType for the system topic.- Parameters:
topicType- the topicType value to set.- Returns:
- the SystemTopicInner 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.
-
-