Class TopicTypeInfoInner
- java.lang.Object
-
- com.azure.core.management.ProxyResource
-
- com.azure.resourcemanager.eventgrid.fluent.models.TopicTypeInfoInner
-
public final class TopicTypeInfoInner extends com.azure.core.management.ProxyResourceProperties of a topic type info.
-
-
Constructor Summary
Constructors Constructor Description TopicTypeInfoInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringdescription()Get the description property: Description of the topic type.StringdisplayName()Get the displayName property: Display Name for the topic type.Stringprovider()Get the provider property: Namespace of the provider of the topic type.TopicTypeProvisioningStateprovisioningState()Get the provisioningState property: Provisioning state of the topic type.ResourceRegionTyperesourceRegionType()Get the resourceRegionType property: Region type of the resource.StringsourceResourceFormat()Get the sourceResourceFormat property: Source resource format.List<String>supportedLocations()Get the supportedLocations property: List of locations supported by this topic type.List<TopicTypePropertiesSupportedScopesForSourceItem>supportedScopesForSource()Get the supportedScopesForSource property: Supported source scopes.voidvalidate()Validates the instance.TopicTypeInfoInnerwithDescription(String description)Set the description property: Description of the topic type.TopicTypeInfoInnerwithDisplayName(String displayName)Set the displayName property: Display Name for the topic type.TopicTypeInfoInnerwithProvider(String provider)Set the provider property: Namespace of the provider of the topic type.TopicTypeInfoInnerwithProvisioningState(TopicTypeProvisioningState provisioningState)Set the provisioningState property: Provisioning state of the topic type.TopicTypeInfoInnerwithResourceRegionType(ResourceRegionType resourceRegionType)Set the resourceRegionType property: Region type of the resource.TopicTypeInfoInnerwithSourceResourceFormat(String sourceResourceFormat)Set the sourceResourceFormat property: Source resource format.TopicTypeInfoInnerwithSupportedLocations(List<String> supportedLocations)Set the supportedLocations property: List of locations supported by this topic type.TopicTypeInfoInnerwithSupportedScopesForSource(List<TopicTypePropertiesSupportedScopesForSourceItem> supportedScopesForSource)Set the supportedScopesForSource property: Supported source scopes.
-
-
-
Method Detail
-
provider
public String provider()
Get the provider property: Namespace of the provider of the topic type.- Returns:
- the provider value.
-
withProvider
public TopicTypeInfoInner withProvider(String provider)
Set the provider property: Namespace of the provider of the topic type.- Parameters:
provider- the provider value to set.- Returns:
- the TopicTypeInfoInner object itself.
-
displayName
public String displayName()
Get the displayName property: Display Name for the topic type.- Returns:
- the displayName value.
-
withDisplayName
public TopicTypeInfoInner withDisplayName(String displayName)
Set the displayName property: Display Name for the topic type.- Parameters:
displayName- the displayName value to set.- Returns:
- the TopicTypeInfoInner object itself.
-
description
public String description()
Get the description property: Description of the topic type.- Returns:
- the description value.
-
withDescription
public TopicTypeInfoInner withDescription(String description)
Set the description property: Description of the topic type.- Parameters:
description- the description value to set.- Returns:
- the TopicTypeInfoInner object itself.
-
resourceRegionType
public ResourceRegionType resourceRegionType()
Get the resourceRegionType property: Region type of the resource.- Returns:
- the resourceRegionType value.
-
withResourceRegionType
public TopicTypeInfoInner withResourceRegionType(ResourceRegionType resourceRegionType)
Set the resourceRegionType property: Region type of the resource.- Parameters:
resourceRegionType- the resourceRegionType value to set.- Returns:
- the TopicTypeInfoInner object itself.
-
provisioningState
public TopicTypeProvisioningState provisioningState()
Get the provisioningState property: Provisioning state of the topic type.- Returns:
- the provisioningState value.
-
withProvisioningState
public TopicTypeInfoInner withProvisioningState(TopicTypeProvisioningState provisioningState)
Set the provisioningState property: Provisioning state of the topic type.- Parameters:
provisioningState- the provisioningState value to set.- Returns:
- the TopicTypeInfoInner object itself.
-
supportedLocations
public List<String> supportedLocations()
Get the supportedLocations property: List of locations supported by this topic type.- Returns:
- the supportedLocations value.
-
withSupportedLocations
public TopicTypeInfoInner withSupportedLocations(List<String> supportedLocations)
Set the supportedLocations property: List of locations supported by this topic type.- Parameters:
supportedLocations- the supportedLocations value to set.- Returns:
- the TopicTypeInfoInner object itself.
-
sourceResourceFormat
public String sourceResourceFormat()
Get the sourceResourceFormat property: Source resource format.- Returns:
- the sourceResourceFormat value.
-
withSourceResourceFormat
public TopicTypeInfoInner withSourceResourceFormat(String sourceResourceFormat)
Set the sourceResourceFormat property: Source resource format.- Parameters:
sourceResourceFormat- the sourceResourceFormat value to set.- Returns:
- the TopicTypeInfoInner object itself.
-
supportedScopesForSource
public List<TopicTypePropertiesSupportedScopesForSourceItem> supportedScopesForSource()
Get the supportedScopesForSource property: Supported source scopes.- Returns:
- the supportedScopesForSource value.
-
withSupportedScopesForSource
public TopicTypeInfoInner withSupportedScopesForSource(List<TopicTypePropertiesSupportedScopesForSourceItem> supportedScopesForSource)
Set the supportedScopesForSource property: Supported source scopes.- Parameters:
supportedScopesForSource- the supportedScopesForSource value to set.- Returns:
- the TopicTypeInfoInner object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-