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.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

    Nested 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
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
     
     
     
     
     
    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
    setEventHubName(String eventHubName)
    Set the event hub name.
    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

    Methods inherited from interface com.azure.spring.cloud.core.provider.ClientOptionsProvider

    getClient

    Methods inherited from interface com.azure.spring.cloud.core.provider.ProxyOptionsProvider

    getProxy

    Methods inherited from interface com.azure.spring.cloud.core.provider.RetryOptionsProvider

    getRetry

    Methods inherited from interface com.azure.spring.cloud.core.provider.authentication.TokenCredentialOptionsProvider

    getCredential
  • Constructor Details

    • CommonProperties

      public CommonProperties()
  • Method Details

    • getFullyQualifiedNamespace

      public String getFullyQualifiedNamespace()
      Specified by:
      getFullyQualifiedNamespace in interface com.azure.spring.cloud.service.implementation.eventhubs.properties.EventHubClientCommonProperties
    • getDomainName

      public String getDomainName()
      Specified by:
      getDomainName in interface com.azure.spring.cloud.service.implementation.eventhubs.properties.EventHubClientCommonProperties
    • setDomainName

      public void setDomainName(String domainName)
      Set the domain name.
      Parameters:
      domainName - the domain name.
    • getNamespace

      public String getNamespace()
      Specified by:
      getNamespace in interface com.azure.spring.cloud.service.implementation.eventhubs.properties.EventHubClientCommonProperties
    • setNamespace

      public void setNamespace(String namespace)
      Set the namespace.
      Parameters:
      namespace - the namespace.
    • getEventHubName

      public String getEventHubName()
      Specified by:
      getEventHubName in interface com.azure.spring.cloud.service.implementation.eventhubs.properties.EventHubClientCommonProperties
    • setEventHubName

      public void setEventHubName(String eventHubName)
      Set the event hub name.
      Parameters:
      eventHubName - the event hub name.
    • getConnectionString

      public String getConnectionString()
      Specified by:
      getConnectionString in interface com.azure.spring.cloud.core.provider.connectionstring.ConnectionStringProvider
    • setConnectionString

      public void setConnectionString(String connectionString)
      Set the connection string.
      Parameters:
      connectionString - the connection string.
    • getCustomEndpointAddress

      public String getCustomEndpointAddress()
      Specified by:
      getCustomEndpointAddress in interface com.azure.spring.cloud.service.implementation.eventhubs.properties.EventHubClientCommonProperties
    • setCustomEndpointAddress

      public void setCustomEndpointAddress(String customEndpointAddress)
      Set the custom endpoint address.
      Parameters:
      customEndpointAddress - the custom endpoint address.