Class AutomationRunbookReceiver
- java.lang.Object
-
- com.azure.resourcemanager.monitor.models.AutomationRunbookReceiver
-
public final class AutomationRunbookReceiver extends Object
The Azure Automation Runbook notification receiver.
-
-
Constructor Summary
Constructors Constructor Description AutomationRunbookReceiver()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringautomationAccountId()Get the automationAccountId property: The Azure automation account Id which holds this runbook and authenticate to Azure resource.booleanisGlobalRunbook()Get the isGlobalRunbook property: Indicates whether this instance is global runbook.Stringname()Get the name property: Indicates name of the webhook.StringrunbookName()Get the runbookName property: The name for this runbook.StringserviceUri()Get the serviceUri property: The URI where webhooks should be sent.BooleanuseCommonAlertSchema()Get the useCommonAlertSchema property: Indicates whether to use common alert schema.voidvalidate()Validates the instance.StringwebhookResourceId()Get the webhookResourceId property: The resource id for webhook linked to this runbook.AutomationRunbookReceiverwithAutomationAccountId(String automationAccountId)Set the automationAccountId property: The Azure automation account Id which holds this runbook and authenticate to Azure resource.AutomationRunbookReceiverwithIsGlobalRunbook(boolean isGlobalRunbook)Set the isGlobalRunbook property: Indicates whether this instance is global runbook.AutomationRunbookReceiverwithName(String name)Set the name property: Indicates name of the webhook.AutomationRunbookReceiverwithRunbookName(String runbookName)Set the runbookName property: The name for this runbook.AutomationRunbookReceiverwithServiceUri(String serviceUri)Set the serviceUri property: The URI where webhooks should be sent.AutomationRunbookReceiverwithUseCommonAlertSchema(Boolean useCommonAlertSchema)Set the useCommonAlertSchema property: Indicates whether to use common alert schema.AutomationRunbookReceiverwithWebhookResourceId(String webhookResourceId)Set the webhookResourceId property: The resource id for webhook linked to this runbook.
-
-
-
Method Detail
-
automationAccountId
public String automationAccountId()
Get the automationAccountId property: The Azure automation account Id which holds this runbook and authenticate to Azure resource.- Returns:
- the automationAccountId value.
-
withAutomationAccountId
public AutomationRunbookReceiver withAutomationAccountId(String automationAccountId)
Set the automationAccountId property: The Azure automation account Id which holds this runbook and authenticate to Azure resource.- Parameters:
automationAccountId- the automationAccountId value to set.- Returns:
- the AutomationRunbookReceiver object itself.
-
runbookName
public String runbookName()
Get the runbookName property: The name for this runbook.- Returns:
- the runbookName value.
-
withRunbookName
public AutomationRunbookReceiver withRunbookName(String runbookName)
Set the runbookName property: The name for this runbook.- Parameters:
runbookName- the runbookName value to set.- Returns:
- the AutomationRunbookReceiver object itself.
-
webhookResourceId
public String webhookResourceId()
Get the webhookResourceId property: The resource id for webhook linked to this runbook.- Returns:
- the webhookResourceId value.
-
withWebhookResourceId
public AutomationRunbookReceiver withWebhookResourceId(String webhookResourceId)
Set the webhookResourceId property: The resource id for webhook linked to this runbook.- Parameters:
webhookResourceId- the webhookResourceId value to set.- Returns:
- the AutomationRunbookReceiver object itself.
-
isGlobalRunbook
public boolean isGlobalRunbook()
Get the isGlobalRunbook property: Indicates whether this instance is global runbook.- Returns:
- the isGlobalRunbook value.
-
withIsGlobalRunbook
public AutomationRunbookReceiver withIsGlobalRunbook(boolean isGlobalRunbook)
Set the isGlobalRunbook property: Indicates whether this instance is global runbook.- Parameters:
isGlobalRunbook- the isGlobalRunbook value to set.- Returns:
- the AutomationRunbookReceiver object itself.
-
name
public String name()
Get the name property: Indicates name of the webhook.- Returns:
- the name value.
-
withName
public AutomationRunbookReceiver withName(String name)
Set the name property: Indicates name of the webhook.- Parameters:
name- the name value to set.- Returns:
- the AutomationRunbookReceiver object itself.
-
serviceUri
public String serviceUri()
Get the serviceUri property: The URI where webhooks should be sent.- Returns:
- the serviceUri value.
-
withServiceUri
public AutomationRunbookReceiver withServiceUri(String serviceUri)
Set the serviceUri property: The URI where webhooks should be sent.- Parameters:
serviceUri- the serviceUri value to set.- Returns:
- the AutomationRunbookReceiver object itself.
-
useCommonAlertSchema
public Boolean useCommonAlertSchema()
Get the useCommonAlertSchema property: Indicates whether to use common alert schema.- Returns:
- the useCommonAlertSchema value.
-
withUseCommonAlertSchema
public AutomationRunbookReceiver withUseCommonAlertSchema(Boolean useCommonAlertSchema)
Set the useCommonAlertSchema property: Indicates whether to use common alert schema.- Parameters:
useCommonAlertSchema- the useCommonAlertSchema value to set.- Returns:
- the AutomationRunbookReceiver object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-