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