TopicSpacesConfiguration Class
- java.
lang. Object - com.
azure. resourcemanager. eventgrid. models. TopicSpacesConfiguration
- com.
Implements
public final class TopicSpacesConfiguration
implements JsonSerializable<TopicSpacesConfiguration>
Properties of the Topic Spaces Configuration.
Constructor Summary
| Constructor | Description |
|---|---|
| TopicSpacesConfiguration() |
Creates an instance of Topic |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Client |
clientAuthentication()
Get the client |
|
List<Custom |
customDomains()
Get the custom |
|
static
Topic |
fromJson(JsonReader jsonReader)
Reads an instance of Topic |
| String |
hostname()
Get the hostname property: The endpoint for the topic spaces configuration. |
| Integer |
maximumClientSessionsPerAuthenticationName()
Get the maximum |
| Integer |
maximumSessionExpiryInHours()
Get the maximum |
| String |
routeTopicResourceId()
Get the route |
|
Routing |
routingEnrichments()
Get the routing |
|
Routing |
routingIdentityInfo()
Get the routing |
|
Topic |
state()
Get the state property: Indicate if Topic Spaces Configuration is enabled for the namespace. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Topic |
withClientAuthentication(ClientAuthenticationSettings clientAuthentication)
Set the client |
|
Topic |
withCustomDomains(List<CustomDomainConfiguration> customDomains)
Set the custom |
|
Topic |
withMaximumClientSessionsPerAuthenticationName(Integer maximumClientSessionsPerAuthenticationName)
Set the maximum |
|
Topic |
withMaximumSessionExpiryInHours(Integer maximumSessionExpiryInHours)
Set the maximum |
|
Topic |
withRouteTopicResourceId(String routeTopicResourceId)
Set the route |
|
Topic |
withRoutingEnrichments(RoutingEnrichments routingEnrichments)
Set the routing |
|
Topic |
withRoutingIdentityInfo(RoutingIdentityInfo routingIdentityInfo)
Set the routing |
|
Topic |
withState(TopicSpacesConfigurationState state)
Set the state property: Indicate if Topic Spaces Configuration is enabled for the namespace. |
Methods inherited from java.lang.Object
Constructor Details
TopicSpacesConfiguration
public TopicSpacesConfiguration()
Creates an instance of TopicSpacesConfiguration class.
Method Details
clientAuthentication
public ClientAuthenticationSettings clientAuthentication()
Get the clientAuthentication property: Client authentication settings for topic spaces configuration.
Returns:
customDomains
public List<CustomDomainConfiguration> customDomains()
Get the customDomains property: List of custom domain configurations for the namespace.
Returns:
fromJson
public static TopicSpacesConfiguration fromJson(JsonReader jsonReader)
Reads an instance of TopicSpacesConfiguration from the JsonReader.
Parameters:
Returns:
Throws:
hostname
public String hostname()
Get the hostname property: The endpoint for the topic spaces configuration. This is a read-only property.
Returns:
maximumClientSessionsPerAuthenticationName
public Integer maximumClientSessionsPerAuthenticationName()
Get the maximumClientSessionsPerAuthenticationName property: The maximum number of sessions per authentication name. The property default value is 1. Min allowed value is 1 and max allowed value is 100.
Returns:
maximumSessionExpiryInHours
public Integer maximumSessionExpiryInHours()
Get the maximumSessionExpiryInHours property: The maximum session expiry in hours. The property default value is 1 hour. Min allowed value is 1 hour and max allowed value is 8 hours.
Returns:
routeTopicResourceId
public String routeTopicResourceId()
Get the routeTopicResourceId property: Fully qualified Azure Resource Id for the Event Grid Topic to which events will be routed to from TopicSpaces under a namespace. This property should be in the following format '/subscriptions/{subId}/resourcegroups/{resourceGroupName}/providers/microsoft.EventGrid/topics/{topicName}'. This topic should reside in the same region where namespace is located.
Returns:
routingEnrichments
public RoutingEnrichments routingEnrichments()
Get the routingEnrichments property: Routing enrichments for topic spaces configuration.
Returns:
routingIdentityInfo
public RoutingIdentityInfo routingIdentityInfo()
Get the routingIdentityInfo property: Routing identity info for topic spaces configuration.
Returns:
state
public TopicSpacesConfigurationState state()
Get the state property: Indicate if Topic Spaces Configuration is enabled for the namespace. Default is Disabled.
Returns:
toJson
validate
public void validate()
Validates the instance.
withClientAuthentication
public TopicSpacesConfiguration withClientAuthentication(ClientAuthenticationSettings clientAuthentication)
Set the clientAuthentication property: Client authentication settings for topic spaces configuration.
Parameters:
Returns:
withCustomDomains
public TopicSpacesConfiguration withCustomDomains(List<CustomDomainConfiguration> customDomains)
Set the customDomains property: List of custom domain configurations for the namespace.
Parameters:
Returns:
withMaximumClientSessionsPerAuthenticationName
public TopicSpacesConfiguration withMaximumClientSessionsPerAuthenticationName(Integer maximumClientSessionsPerAuthenticationName)
Set the maximumClientSessionsPerAuthenticationName property: The maximum number of sessions per authentication name. The property default value is 1. Min allowed value is 1 and max allowed value is 100.
Parameters:
Returns:
withMaximumSessionExpiryInHours
public TopicSpacesConfiguration withMaximumSessionExpiryInHours(Integer maximumSessionExpiryInHours)
Set the maximumSessionExpiryInHours property: The maximum session expiry in hours. The property default value is 1 hour. Min allowed value is 1 hour and max allowed value is 8 hours.
Parameters:
Returns:
withRouteTopicResourceId
public TopicSpacesConfiguration withRouteTopicResourceId(String routeTopicResourceId)
Set the routeTopicResourceId property: Fully qualified Azure Resource Id for the Event Grid Topic to which events will be routed to from TopicSpaces under a namespace. This property should be in the following format '/subscriptions/{subId}/resourcegroups/{resourceGroupName}/providers/microsoft.EventGrid/topics/{topicName}'. This topic should reside in the same region where namespace is located.
Parameters:
Returns:
withRoutingEnrichments
public TopicSpacesConfiguration withRoutingEnrichments(RoutingEnrichments routingEnrichments)
Set the routingEnrichments property: Routing enrichments for topic spaces configuration.
Parameters:
Returns:
withRoutingIdentityInfo
public TopicSpacesConfiguration withRoutingIdentityInfo(RoutingIdentityInfo routingIdentityInfo)
Set the routingIdentityInfo property: Routing identity info for topic spaces configuration.
Parameters:
Returns:
withState
public TopicSpacesConfiguration withState(TopicSpacesConfigurationState state)
Set the state property: Indicate if Topic Spaces Configuration is enabled for the namespace. Default is Disabled.
Parameters:
Returns: