Class RoutingServiceBusTopicEndpointProperties
- java.lang.Object
-
- com.azure.resourcemanager.iothub.models.RoutingServiceBusTopicEndpointProperties
-
public final class RoutingServiceBusTopicEndpointProperties extends Object
The properties related to service bus topic endpoint types.
-
-
Constructor Summary
Constructors Constructor Description RoutingServiceBusTopicEndpointProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AuthenticationType
authenticationType()
Get the authenticationType property: Method used to authenticate against the service bus topic endpoint.String
connectionString()
Get the connectionString property: The connection string of the service bus topic endpoint.String
endpointUri()
Get the endpointUri property: The url of the service bus topic endpoint.String
entityPath()
Get the entityPath property: Queue name on the service bus topic.String
id()
Get the id property: Id of the service bus topic endpoint.ManagedIdentity
identity()
Get the identity property: Managed identity properties of routing service bus topic endpoint.String
name()
Get the name property: The name that identifies this endpoint.String
resourceGroup()
Get the resourceGroup property: The name of the resource group of the service bus topic endpoint.String
subscriptionId()
Get the subscriptionId property: The subscription identifier of the service bus topic endpoint.void
validate()
Validates the instance.RoutingServiceBusTopicEndpointProperties
withAuthenticationType(AuthenticationType authenticationType)
Set the authenticationType property: Method used to authenticate against the service bus topic endpoint.RoutingServiceBusTopicEndpointProperties
withConnectionString(String connectionString)
Set the connectionString property: The connection string of the service bus topic endpoint.RoutingServiceBusTopicEndpointProperties
withEndpointUri(String endpointUri)
Set the endpointUri property: The url of the service bus topic endpoint.RoutingServiceBusTopicEndpointProperties
withEntityPath(String entityPath)
Set the entityPath property: Queue name on the service bus topic.RoutingServiceBusTopicEndpointProperties
withId(String id)
Set the id property: Id of the service bus topic endpoint.RoutingServiceBusTopicEndpointProperties
withIdentity(ManagedIdentity identity)
Set the identity property: Managed identity properties of routing service bus topic endpoint.RoutingServiceBusTopicEndpointProperties
withName(String name)
Set the name property: The name that identifies this endpoint.RoutingServiceBusTopicEndpointProperties
withResourceGroup(String resourceGroup)
Set the resourceGroup property: The name of the resource group of the service bus topic endpoint.RoutingServiceBusTopicEndpointProperties
withSubscriptionId(String subscriptionId)
Set the subscriptionId property: The subscription identifier of the service bus topic endpoint.
-
-
-
Method Detail
-
id
public String id()
Get the id property: Id of the service bus topic endpoint.- Returns:
- the id value.
-
withId
public RoutingServiceBusTopicEndpointProperties withId(String id)
Set the id property: Id of the service bus topic endpoint.- Parameters:
id
- the id value to set.- Returns:
- the RoutingServiceBusTopicEndpointProperties object itself.
-
connectionString
public String connectionString()
Get the connectionString property: The connection string of the service bus topic endpoint.- Returns:
- the connectionString value.
-
withConnectionString
public RoutingServiceBusTopicEndpointProperties withConnectionString(String connectionString)
Set the connectionString property: The connection string of the service bus topic endpoint.- Parameters:
connectionString
- the connectionString value to set.- Returns:
- the RoutingServiceBusTopicEndpointProperties object itself.
-
endpointUri
public String endpointUri()
Get the endpointUri property: The url of the service bus topic endpoint. It must include the protocol sb://.- Returns:
- the endpointUri value.
-
withEndpointUri
public RoutingServiceBusTopicEndpointProperties withEndpointUri(String endpointUri)
Set the endpointUri property: The url of the service bus topic endpoint. It must include the protocol sb://.- Parameters:
endpointUri
- the endpointUri value to set.- Returns:
- the RoutingServiceBusTopicEndpointProperties object itself.
-
entityPath
public String entityPath()
Get the entityPath property: Queue name on the service bus topic.- Returns:
- the entityPath value.
-
withEntityPath
public RoutingServiceBusTopicEndpointProperties withEntityPath(String entityPath)
Set the entityPath property: Queue name on the service bus topic.- Parameters:
entityPath
- the entityPath value to set.- Returns:
- the RoutingServiceBusTopicEndpointProperties object itself.
-
authenticationType
public AuthenticationType authenticationType()
Get the authenticationType property: Method used to authenticate against the service bus topic endpoint.- Returns:
- the authenticationType value.
-
withAuthenticationType
public RoutingServiceBusTopicEndpointProperties withAuthenticationType(AuthenticationType authenticationType)
Set the authenticationType property: Method used to authenticate against the service bus topic endpoint.- Parameters:
authenticationType
- the authenticationType value to set.- Returns:
- the RoutingServiceBusTopicEndpointProperties object itself.
-
identity
public ManagedIdentity identity()
Get the identity property: Managed identity properties of routing service bus topic endpoint.- Returns:
- the identity value.
-
withIdentity
public RoutingServiceBusTopicEndpointProperties withIdentity(ManagedIdentity identity)
Set the identity property: Managed identity properties of routing service bus topic endpoint.- Parameters:
identity
- the identity value to set.- Returns:
- the RoutingServiceBusTopicEndpointProperties object itself.
-
name
public String name()
Get the name property: The name that identifies this endpoint. The name can only include alphanumeric characters, periods, underscores, hyphens and has a maximum length of 64 characters. The following names are reserved: events, fileNotifications, $default. Endpoint names must be unique across endpoint types. The name need not be the same as the actual topic name.- Returns:
- the name value.
-
withName
public RoutingServiceBusTopicEndpointProperties withName(String name)
Set the name property: The name that identifies this endpoint. The name can only include alphanumeric characters, periods, underscores, hyphens and has a maximum length of 64 characters. The following names are reserved: events, fileNotifications, $default. Endpoint names must be unique across endpoint types. The name need not be the same as the actual topic name.- Parameters:
name
- the name value to set.- Returns:
- the RoutingServiceBusTopicEndpointProperties object itself.
-
subscriptionId
public String subscriptionId()
Get the subscriptionId property: The subscription identifier of the service bus topic endpoint.- Returns:
- the subscriptionId value.
-
withSubscriptionId
public RoutingServiceBusTopicEndpointProperties withSubscriptionId(String subscriptionId)
Set the subscriptionId property: The subscription identifier of the service bus topic endpoint.- Parameters:
subscriptionId
- the subscriptionId value to set.- Returns:
- the RoutingServiceBusTopicEndpointProperties object itself.
-
resourceGroup
public String resourceGroup()
Get the resourceGroup property: The name of the resource group of the service bus topic endpoint.- Returns:
- the resourceGroup value.
-
withResourceGroup
public RoutingServiceBusTopicEndpointProperties withResourceGroup(String resourceGroup)
Set the resourceGroup property: The name of the resource group of the service bus topic endpoint.- Parameters:
resourceGroup
- the resourceGroup value to set.- Returns:
- the RoutingServiceBusTopicEndpointProperties object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-