Class RoutingServiceBusQueueEndpointProperties
java.lang.Object
com.azure.resourcemanager.iothub.models.RoutingServiceBusQueueEndpointProperties
The properties related to service bus queue endpoint types.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the authenticationType property: Method used to authenticate against the service bus queue endpoint.Get the connectionString property: The connection string of the service bus queue endpoint.Get the endpointUri property: The url of the service bus queue endpoint.Get the entityPath property: Queue name on the service bus namespace.id()
Get the id property: Id of the service bus queue endpoint.identity()
Get the identity property: Managed identity properties of routing service bus queue endpoint.name()
Get the name property: The name that identifies this endpoint.Get the resourceGroup property: The name of the resource group of the service bus queue endpoint.Get the subscriptionId property: The subscription identifier of the service bus queue endpoint.void
validate()
Validates the instance.withAuthenticationType
(AuthenticationType authenticationType) Set the authenticationType property: Method used to authenticate against the service bus queue endpoint.withConnectionString
(String connectionString) Set the connectionString property: The connection string of the service bus queue endpoint.withEndpointUri
(String endpointUri) Set the endpointUri property: The url of the service bus queue endpoint.withEntityPath
(String entityPath) Set the entityPath property: Queue name on the service bus namespace.Set the id property: Id of the service bus queue endpoint.withIdentity
(ManagedIdentity identity) Set the identity property: Managed identity properties of routing service bus queue endpoint.Set the name property: The name that identifies this endpoint.withResourceGroup
(String resourceGroup) Set the resourceGroup property: The name of the resource group of the service bus queue endpoint.withSubscriptionId
(String subscriptionId) Set the subscriptionId property: The subscription identifier of the service bus queue endpoint.
-
Constructor Details
-
RoutingServiceBusQueueEndpointProperties
public RoutingServiceBusQueueEndpointProperties()
-
-
Method Details
-
id
Get the id property: Id of the service bus queue endpoint.- Returns:
- the id value.
-
withId
Set the id property: Id of the service bus queue endpoint.- Parameters:
id
- the id value to set.- Returns:
- the RoutingServiceBusQueueEndpointProperties object itself.
-
connectionString
Get the connectionString property: The connection string of the service bus queue endpoint.- Returns:
- the connectionString value.
-
withConnectionString
Set the connectionString property: The connection string of the service bus queue endpoint.- Parameters:
connectionString
- the connectionString value to set.- Returns:
- the RoutingServiceBusQueueEndpointProperties object itself.
-
endpointUri
Get the endpointUri property: The url of the service bus queue endpoint. It must include the protocol sb://.- Returns:
- the endpointUri value.
-
withEndpointUri
Set the endpointUri property: The url of the service bus queue endpoint. It must include the protocol sb://.- Parameters:
endpointUri
- the endpointUri value to set.- Returns:
- the RoutingServiceBusQueueEndpointProperties object itself.
-
entityPath
Get the entityPath property: Queue name on the service bus namespace.- Returns:
- the entityPath value.
-
withEntityPath
Set the entityPath property: Queue name on the service bus namespace.- Parameters:
entityPath
- the entityPath value to set.- Returns:
- the RoutingServiceBusQueueEndpointProperties object itself.
-
authenticationType
Get the authenticationType property: Method used to authenticate against the service bus queue endpoint.- Returns:
- the authenticationType value.
-
withAuthenticationType
public RoutingServiceBusQueueEndpointProperties withAuthenticationType(AuthenticationType authenticationType) Set the authenticationType property: Method used to authenticate against the service bus queue endpoint.- Parameters:
authenticationType
- the authenticationType value to set.- Returns:
- the RoutingServiceBusQueueEndpointProperties object itself.
-
identity
Get the identity property: Managed identity properties of routing service bus queue endpoint.- Returns:
- the identity value.
-
withIdentity
Set the identity property: Managed identity properties of routing service bus queue endpoint.- Parameters:
identity
- the identity value to set.- Returns:
- the RoutingServiceBusQueueEndpointProperties object itself.
-
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 queue name.- Returns:
- the name value.
-
withName
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 queue name.- Parameters:
name
- the name value to set.- Returns:
- the RoutingServiceBusQueueEndpointProperties object itself.
-
subscriptionId
Get the subscriptionId property: The subscription identifier of the service bus queue endpoint.- Returns:
- the subscriptionId value.
-
withSubscriptionId
Set the subscriptionId property: The subscription identifier of the service bus queue endpoint.- Parameters:
subscriptionId
- the subscriptionId value to set.- Returns:
- the RoutingServiceBusQueueEndpointProperties object itself.
-
resourceGroup
Get the resourceGroup property: The name of the resource group of the service bus queue endpoint.- Returns:
- the resourceGroup value.
-
withResourceGroup
Set the resourceGroup property: The name of the resource group of the service bus queue endpoint.- Parameters:
resourceGroup
- the resourceGroup value to set.- Returns:
- the RoutingServiceBusQueueEndpointProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-