Class EventHubResponse


  • public final class EventHubResponse
    extends java.lang.Object
    • Method Detail

      • authenticationType

        public java.util.Optional<java.lang.String> authenticationType()
        Returns:
        Specifies the authentication type being used for connecting to the endpoint. Defaults to 'KeyBased'. If 'KeyBased' is selected, a connection string must be specified (at least the primary connection string). If 'IdentityBased' is select, the endpointUri and entityPath properties must be specified.
      • connectionStringPrimaryKey

        public java.util.Optional<java.lang.String> connectionStringPrimaryKey()
        Returns:
        PrimaryConnectionString of the endpoint for key-based authentication. Will be obfuscated during read.
      • connectionStringSecondaryKey

        public java.util.Optional<java.lang.String> connectionStringSecondaryKey()
        Returns:
        SecondaryConnectionString of the endpoint for key-based authentication. Will be obfuscated during read.
      • createdTime

        public java.lang.String createdTime()
        Returns:
        Time when the Endpoint was added to DigitalTwinsInstance.
      • deadLetterSecret

        public java.util.Optional<java.lang.String> deadLetterSecret()
        Returns:
        Dead letter storage secret for key-based authentication. Will be obfuscated during read.
      • deadLetterUri

        public java.util.Optional<java.lang.String> deadLetterUri()
        Returns:
        Dead letter storage URL for identity-based authentication.
      • endpointType

        public java.lang.String endpointType()
        Returns:
        The type of Digital Twins endpoint Expected value is 'EventHub'.
      • endpointUri

        public java.util.Optional<java.lang.String> endpointUri()
        Returns:
        The URL of the EventHub namespace for identity-based authentication. It must include the protocol 'sb://'.
      • entityPath

        public java.util.Optional<java.lang.String> entityPath()
        Returns:
        The EventHub name in the EventHub namespace for identity-based authentication.
      • provisioningState

        public java.lang.String provisioningState()
        Returns:
        The provisioning state.