Class TopicTypeProperties
java.lang.Object
com.azure.resourcemanager.eventgrid.fluent.models.TopicTypeProperties
Properties of a topic type.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the description property: Description of the topic type.Get the displayName property: Display Name for the topic type.provider()
Get the provider property: Namespace of the provider of the topic type.Get the provisioningState property: Provisioning state of the topic type.Get the resourceRegionType property: Region type of the resource.Get the sourceResourceFormat property: Source resource format.Get the supportedLocations property: List of locations supported by this topic type.Get the supportedScopesForSource property: Supported source scopes.void
validate()
Validates the instance.withDescription
(String description) Set the description property: Description of the topic type.withDisplayName
(String displayName) Set the displayName property: Display Name for the topic type.withProvider
(String provider) Set the provider property: Namespace of the provider of the topic type.withProvisioningState
(TopicTypeProvisioningState provisioningState) Set the provisioningState property: Provisioning state of the topic type.withResourceRegionType
(ResourceRegionType resourceRegionType) Set the resourceRegionType property: Region type of the resource.withSourceResourceFormat
(String sourceResourceFormat) Set the sourceResourceFormat property: Source resource format.withSupportedLocations
(List<String> supportedLocations) Set the supportedLocations property: List of locations supported by this topic type.withSupportedScopesForSource
(List<TopicTypeSourceScope> supportedScopesForSource) Set the supportedScopesForSource property: Supported source scopes.
-
Constructor Details
-
TopicTypeProperties
public TopicTypeProperties()
-
-
Method Details
-
provider
Get the provider property: Namespace of the provider of the topic type.- Returns:
- the provider value.
-
withProvider
Set the provider property: Namespace of the provider of the topic type.- Parameters:
provider
- the provider value to set.- Returns:
- the TopicTypeProperties object itself.
-
displayName
Get the displayName property: Display Name for the topic type.- Returns:
- the displayName value.
-
withDisplayName
Set the displayName property: Display Name for the topic type.- Parameters:
displayName
- the displayName value to set.- Returns:
- the TopicTypeProperties object itself.
-
description
Get the description property: Description of the topic type.- Returns:
- the description value.
-
withDescription
Set the description property: Description of the topic type.- Parameters:
description
- the description value to set.- Returns:
- the TopicTypeProperties object itself.
-
resourceRegionType
Get the resourceRegionType property: Region type of the resource.- Returns:
- the resourceRegionType value.
-
withResourceRegionType
Set the resourceRegionType property: Region type of the resource.- Parameters:
resourceRegionType
- the resourceRegionType value to set.- Returns:
- the TopicTypeProperties object itself.
-
provisioningState
Get the provisioningState property: Provisioning state of the topic type.- Returns:
- the provisioningState value.
-
withProvisioningState
Set the provisioningState property: Provisioning state of the topic type.- Parameters:
provisioningState
- the provisioningState value to set.- Returns:
- the TopicTypeProperties object itself.
-
supportedLocations
Get the supportedLocations property: List of locations supported by this topic type.- Returns:
- the supportedLocations value.
-
withSupportedLocations
Set the supportedLocations property: List of locations supported by this topic type.- Parameters:
supportedLocations
- the supportedLocations value to set.- Returns:
- the TopicTypeProperties object itself.
-
sourceResourceFormat
Get the sourceResourceFormat property: Source resource format.- Returns:
- the sourceResourceFormat value.
-
withSourceResourceFormat
Set the sourceResourceFormat property: Source resource format.- Parameters:
sourceResourceFormat
- the sourceResourceFormat value to set.- Returns:
- the TopicTypeProperties object itself.
-
supportedScopesForSource
Get the supportedScopesForSource property: Supported source scopes.- Returns:
- the supportedScopesForSource value.
-
withSupportedScopesForSource
public TopicTypeProperties withSupportedScopesForSource(List<TopicTypeSourceScope> supportedScopesForSource) Set the supportedScopesForSource property: Supported source scopes.- Parameters:
supportedScopesForSource
- the supportedScopesForSource value to set.- Returns:
- the TopicTypeProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-