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.eventhubs.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.eventhubs.properties.EventHubClientCommonProperties
- Direct Known Subclasses:
ConsumerProperties,NamespaceProperties,ProducerProperties
public abstract class CommonProperties
extends com.azure.spring.cloud.core.implementation.properties.AzureAmqpSdkProperties
implements com.azure.spring.cloud.service.implementation.eventhubs.properties.EventHubClientCommonProperties, com.azure.spring.cloud.core.provider.connectionstring.ConnectionStringProvider
Common properties shared by event hub 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.ProfileOptionsNested 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.HttpClientOptionsNested 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.ProxyOptionsNested 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.RetryOptionsNested classes/interfaces inherited from interface com.azure.spring.cloud.core.provider.authentication.TokenCredentialOptionsProvider
com.azure.spring.cloud.core.provider.authentication.TokenCredentialOptionsProvider.TokenCredentialOptions -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetConnectionString(String connectionString) Set the connection string.voidsetCustomEndpointAddress(String customEndpointAddress) Set the custom endpoint address.voidsetDomainName(String domainName) Set the domain name.voidsetEventHubName(String eventHubName) Set the event hub name.voidsetNamespace(String namespace) Set the namespace.Methods inherited from class com.azure.spring.cloud.core.implementation.properties.AzureAmqpSdkProperties
getClient, getProxy, getRetryMethods inherited from class com.azure.spring.cloud.core.implementation.properties.AzureSdkProperties
getCredential, getProfileMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.spring.cloud.core.provider.AzureProfileOptionsProvider
getProfileMethods inherited from interface com.azure.spring.cloud.core.provider.ClientOptionsProvider
getClientMethods inherited from interface com.azure.spring.cloud.core.provider.ProxyOptionsProvider
getProxyMethods inherited from interface com.azure.spring.cloud.core.provider.RetryOptionsProvider
getRetryMethods inherited from interface com.azure.spring.cloud.core.provider.authentication.TokenCredentialOptionsProvider
getCredential
-
Constructor Details
-
CommonProperties
public CommonProperties()Create an instance ofCommonProperties.
-
-
Method Details
-
getFullyQualifiedNamespace
- Specified by:
getFullyQualifiedNamespacein interfacecom.azure.spring.cloud.service.implementation.eventhubs.properties.EventHubClientCommonProperties
-
getDomainName
- Specified by:
getDomainNamein interfacecom.azure.spring.cloud.service.implementation.eventhubs.properties.EventHubClientCommonProperties
-
setDomainName
Set the domain name.- Parameters:
domainName- the domain name.
-
getNamespace
- Specified by:
getNamespacein interfacecom.azure.spring.cloud.service.implementation.eventhubs.properties.EventHubClientCommonProperties
-
setNamespace
Set the namespace.- Parameters:
namespace- the namespace.
-
getEventHubName
- Specified by:
getEventHubNamein interfacecom.azure.spring.cloud.service.implementation.eventhubs.properties.EventHubClientCommonProperties
-
setEventHubName
Set the event hub name.- Parameters:
eventHubName- the event hub name.
-
getConnectionString
- Specified by:
getConnectionStringin interfacecom.azure.spring.cloud.core.provider.connectionstring.ConnectionStringProvider
-
setConnectionString
Set the connection string.- Parameters:
connectionString- the connection string.
-
getCustomEndpointAddress
- Specified by:
getCustomEndpointAddressin interfacecom.azure.spring.cloud.service.implementation.eventhubs.properties.EventHubClientCommonProperties
-
setCustomEndpointAddress
Set the custom endpoint address.- Parameters:
customEndpointAddress- the custom endpoint address.
-