public final class EventGrid extends DigitalTwinsEndpointResourceProperties
Properties related to EventGrid.
  • Constructor Details

    • EventGrid

      public EventGrid()
  • Method Details

    • topicEndpoint

      public String topicEndpoint()
      Get the topicEndpoint property: EventGrid Topic Endpoint.
      Returns:
      the topicEndpoint value.
    • withTopicEndpoint

      public EventGrid withTopicEndpoint(String topicEndpoint)
      Set the topicEndpoint property: EventGrid Topic Endpoint.
      Parameters:
      topicEndpoint - the topicEndpoint value to set.
      Returns:
      the EventGrid object itself.
    • accessKey1

      public String accessKey1()
      Get the accessKey1 property: EventGrid secondary accesskey. Will be obfuscated during read.
      Returns:
      the accessKey1 value.
    • withAccessKey1

      public EventGrid withAccessKey1(String accessKey1)
      Set the accessKey1 property: EventGrid secondary accesskey. Will be obfuscated during read.
      Parameters:
      accessKey1 - the accessKey1 value to set.
      Returns:
      the EventGrid object itself.
    • accessKey2

      public String accessKey2()
      Get the accessKey2 property: EventGrid secondary accesskey. Will be obfuscated during read.
      Returns:
      the accessKey2 value.
    • withAccessKey2

      public EventGrid withAccessKey2(String accessKey2)
      Set the accessKey2 property: EventGrid secondary accesskey. Will be obfuscated during read.
      Parameters:
      accessKey2 - the accessKey2 value to set.
      Returns:
      the EventGrid object itself.
    • withAuthenticationType

      public EventGrid withAuthenticationType(AuthenticationType authenticationType)
      Set the authenticationType property: 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.
      Overrides:
      withAuthenticationType in class DigitalTwinsEndpointResourceProperties
      Parameters:
      authenticationType - the authenticationType value to set.
      Returns:
      the DigitalTwinsEndpointResourceProperties object itself.
    • withDeadLetterSecret

      public EventGrid withDeadLetterSecret(String deadLetterSecret)
      Set the deadLetterSecret property: Dead letter storage secret for key-based authentication. Will be obfuscated during read.
      Overrides:
      withDeadLetterSecret in class DigitalTwinsEndpointResourceProperties
      Parameters:
      deadLetterSecret - the deadLetterSecret value to set.
      Returns:
      the DigitalTwinsEndpointResourceProperties object itself.
    • withDeadLetterUri

      public EventGrid withDeadLetterUri(String deadLetterUri)
      Set the deadLetterUri property: Dead letter storage URL for identity-based authentication.
      Overrides:
      withDeadLetterUri in class DigitalTwinsEndpointResourceProperties
      Parameters:
      deadLetterUri - the deadLetterUri value to set.
      Returns:
      the DigitalTwinsEndpointResourceProperties object itself.
    • validate

      public void validate()
      Validates the instance.
      Overrides:
      validate in class DigitalTwinsEndpointResourceProperties
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.