Class AutomationActionEventHub
java.lang.Object
com.azure.resourcemanager.security.models.AutomationAction
com.azure.resourcemanager.security.models.AutomationActionEventHub
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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the connectionString property: The target Event Hub connection string (it will not be included in any response).Get the eventHubResourceId property: The target Event Hub Azure Resource ID.Get the sasPolicyName property: The target Event Hub SAS policy name.void
validate()
Validates the instance.withConnectionString
(String connectionString) Set the connectionString property: The target Event Hub connection string (it will not be included in any response).withEventHubResourceId
(String eventHubResourceId) Set the eventHubResourceId property: The target Event Hub Azure Resource ID.
-
Constructor Details
-
AutomationActionEventHub
public AutomationActionEventHub()
-
-
Method Details
-
eventHubResourceId
Get the eventHubResourceId property: The target Event Hub Azure Resource ID.- Returns:
- the eventHubResourceId value.
-
withEventHubResourceId
Set the eventHubResourceId property: The target Event Hub Azure Resource ID.- Parameters:
eventHubResourceId
- the eventHubResourceId value to set.- Returns:
- the AutomationActionEventHub object itself.
-
sasPolicyName
Get the sasPolicyName property: The target Event Hub SAS policy name.- Returns:
- the sasPolicyName value.
-
connectionString
Get the connectionString property: The target Event Hub connection string (it will not be included in any response).- Returns:
- the connectionString value.
-
withConnectionString
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 classAutomationAction
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-