Class AutomationActionEventHub

java.lang.Object
com.azure.resourcemanager.security.models.AutomationAction
com.azure.resourcemanager.security.models.AutomationActionEventHub

public final class AutomationActionEventHub extends AutomationAction
The target Event Hub to which event data will be exported. To learn more about Microsoft Defender for Cloud continuous export capabilities, visit https://aka.ms/ASCExportLearnMore.
  • Constructor Details

    • AutomationActionEventHub

      public AutomationActionEventHub()
  • Method Details

    • eventHubResourceId

      public String eventHubResourceId()
      Get the eventHubResourceId property: The target Event Hub Azure Resource ID.
      Returns:
      the eventHubResourceId value.
    • withEventHubResourceId

      public AutomationActionEventHub withEventHubResourceId(String eventHubResourceId)
      Set the eventHubResourceId property: The target Event Hub Azure Resource ID.
      Parameters:
      eventHubResourceId - the eventHubResourceId value to set.
      Returns:
      the AutomationActionEventHub object itself.
    • sasPolicyName

      public String sasPolicyName()
      Get the sasPolicyName property: The target Event Hub SAS policy name.
      Returns:
      the sasPolicyName value.
    • connectionString

      public String connectionString()
      Get the connectionString property: The target Event Hub connection string (it will not be included in any response).
      Returns:
      the connectionString value.
    • withConnectionString

      public AutomationActionEventHub withConnectionString(String connectionString)
      Set the connectionString property: The target Event Hub connection string (it will not be included in any response).
      Parameters:
      connectionString - the connectionString value to set.
      Returns:
      the AutomationActionEventHub object itself.
    • validate

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