Class CommonProperties
java.lang.Object
com.azure.spring.cloud.core.implementation.properties.AzureSdkProperties
com.azure.spring.cloud.core.implementation.properties.AzureAmqpSdkProperties
com.azure.spring.messaging.servicebus.core.properties.CommonProperties
- All Implemented Interfaces:
com.azure.spring.cloud.core.properties.AzureProperties
,com.azure.spring.cloud.core.provider.authentication.TokenCredentialOptionsProvider
,com.azure.spring.cloud.core.provider.AzureProfileOptionsProvider
,com.azure.spring.cloud.core.provider.ClientOptionsProvider
,com.azure.spring.cloud.core.provider.connectionstring.ConnectionStringProvider
,com.azure.spring.cloud.core.provider.ProxyOptionsProvider
,com.azure.spring.cloud.core.provider.RetryOptionsProvider
,com.azure.spring.cloud.service.implementation.servicebus.properties.ServiceBusClientCommonProperties
- Direct Known Subclasses:
ConsumerProperties
,NamespaceProperties
,ProducerProperties
public class CommonProperties
extends com.azure.spring.cloud.core.implementation.properties.AzureAmqpSdkProperties
implements com.azure.spring.cloud.service.implementation.servicebus.properties.ServiceBusClientCommonProperties
Common properties shared by Service Bus namespace, a producer, and a consumer.
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.azure.spring.cloud.core.provider.AzureProfileOptionsProvider
com.azure.spring.cloud.core.provider.AzureProfileOptionsProvider.AzureEnvironmentOptions, com.azure.spring.cloud.core.provider.AzureProfileOptionsProvider.CloudType, com.azure.spring.cloud.core.provider.AzureProfileOptionsProvider.ProfileOptions
Nested classes/interfaces inherited from interface com.azure.spring.cloud.core.provider.ClientOptionsProvider
com.azure.spring.cloud.core.provider.ClientOptionsProvider.AmqpClientOptions, com.azure.spring.cloud.core.provider.ClientOptionsProvider.ClientOptions, com.azure.spring.cloud.core.provider.ClientOptionsProvider.HttpClientOptions
Nested classes/interfaces inherited from interface com.azure.spring.cloud.core.provider.ProxyOptionsProvider
com.azure.spring.cloud.core.provider.ProxyOptionsProvider.AmqpProxyOptions, com.azure.spring.cloud.core.provider.ProxyOptionsProvider.HttpProxyOptions, com.azure.spring.cloud.core.provider.ProxyOptionsProvider.ProxyOptions
Nested classes/interfaces inherited from interface com.azure.spring.cloud.core.provider.RetryOptionsProvider
com.azure.spring.cloud.core.provider.RetryOptionsProvider.AmqpRetryOptions, com.azure.spring.cloud.core.provider.RetryOptionsProvider.RetryMode, com.azure.spring.cloud.core.provider.RetryOptionsProvider.RetryOptions
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.azure.spring.cloud.service.servicebus.properties.ServiceBusEntityType
void
setConnectionString
(String connectionString) Set the connection string.void
setCustomEndpointAddress
(String customEndpointAddress) Set the custom endpoint address.void
setDomainName
(String domainName) Set the domain name.void
setEntityName
(String entityName) Set the entity name.void
setEntityType
(com.azure.spring.cloud.service.servicebus.properties.ServiceBusEntityType entityType) Set the entity type.void
setNamespace
(String namespace) Set the namespace.Methods inherited from class com.azure.spring.cloud.core.implementation.properties.AzureAmqpSdkProperties
getClient, getProxy, getRetry
Methods inherited from class com.azure.spring.cloud.core.implementation.properties.AzureSdkProperties
getCredential, getProfile
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.azure.spring.cloud.core.provider.AzureProfileOptionsProvider
getProfile
-
Constructor Details
-
CommonProperties
public CommonProperties()Create an instance ofCommonProperties
.
-
-
Method Details
-
getFullyQualifiedNamespace
- Specified by:
getFullyQualifiedNamespace
in interfacecom.azure.spring.cloud.service.implementation.servicebus.properties.ServiceBusClientCommonProperties
-
getDomainName
- Specified by:
getDomainName
in interfacecom.azure.spring.cloud.service.implementation.servicebus.properties.ServiceBusClientCommonProperties
-
setDomainName
Set the domain name.- Parameters:
domainName
- the domain name.
-
getNamespace
- Specified by:
getNamespace
in interfacecom.azure.spring.cloud.service.implementation.servicebus.properties.ServiceBusClientCommonProperties
-
setNamespace
Set the namespace.- Parameters:
namespace
- the namespace.
-
getConnectionString
- Specified by:
getConnectionString
in interfacecom.azure.spring.cloud.core.provider.connectionstring.ConnectionStringProvider
-
setConnectionString
Set the connection string.- Parameters:
connectionString
- the connection string.
-
getEntityName
- Specified by:
getEntityName
in interfacecom.azure.spring.cloud.service.implementation.servicebus.properties.ServiceBusClientCommonProperties
-
setEntityName
Set the entity name.- Parameters:
entityName
- the entity name.
-
getEntityType
public com.azure.spring.cloud.service.servicebus.properties.ServiceBusEntityType getEntityType()- Specified by:
getEntityType
in interfacecom.azure.spring.cloud.service.implementation.servicebus.properties.ServiceBusClientCommonProperties
-
setEntityType
public void setEntityType(com.azure.spring.cloud.service.servicebus.properties.ServiceBusEntityType entityType) Set the entity type.- Parameters:
entityType
- the entity type.
-
getCustomEndpointAddress
- Specified by:
getCustomEndpointAddress
in interfacecom.azure.spring.cloud.service.implementation.servicebus.properties.ServiceBusClientCommonProperties
-
setCustomEndpointAddress
Set the custom endpoint address.- Parameters:
customEndpointAddress
- the custom endpoint address.
-