AutomationActionEventHub Class
- java.
lang. Object - com.
azure. resourcemanager. security. models. AutomationAction - com.
azure. resourcemanager. security. models. AutomationActionEventHub
- com.
- com.
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 Summary
Constructor | Description |
---|---|
AutomationActionEventHub() |
Creates an instance of Automation |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
connectionString()
Get the connection |
String |
eventHubResourceId()
Get the event |
Boolean |
isTrustedServiceEnabled()
Get the is |
String |
sasPolicyName()
Get the sas |
void |
validate()
Validates the instance. |
Automation |
withConnectionString(String connectionString)
Set the connection |
Automation |
withEventHubResourceId(String eventHubResourceId)
Set the event |
Automation |
withIsTrustedServiceEnabled(Boolean isTrustedServiceEnabled)
Set the is |
Methods inherited from AutomationAction
Methods inherited from java.lang.Object
Constructor Details
AutomationActionEventHub
public AutomationActionEventHub()
Creates an instance of AutomationActionEventHub class.
Method Details
connectionString
public String connectionString()
Get the connectionString property: The target Event Hub connection string (it will not be included in any response).
Returns:
eventHubResourceId
public String eventHubResourceId()
Get the eventHubResourceId property: The target Event Hub Azure Resource ID.
Returns:
isTrustedServiceEnabled
public Boolean isTrustedServiceEnabled()
Get the isTrustedServiceEnabled property: Indicates whether the trusted service is enabled or not.
Returns:
sasPolicyName
public String sasPolicyName()
Get the sasPolicyName property: The target Event Hub SAS policy name.
Returns:
validate
public void validate()
Validates the instance.
Overrides:
AutomationActionEventHub.validate()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:
Returns:
withEventHubResourceId
public AutomationActionEventHub withEventHubResourceId(String eventHubResourceId)
Set the eventHubResourceId property: The target Event Hub Azure Resource ID.
Parameters:
Returns:
withIsTrustedServiceEnabled
public AutomationActionEventHub withIsTrustedServiceEnabled(Boolean isTrustedServiceEnabled)
Set the isTrustedServiceEnabled property: Indicates whether the trusted service is enabled or not.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for