public final class AutomationRunbookReceiver extends Object
| Constructor and Description |
|---|
AutomationRunbookReceiver() |
| Modifier and Type | Method and Description |
|---|---|
String |
automationAccountId()
Get the automationAccountId property: The Azure automation account Id which holds this runbook and authenticate
to Azure resource.
|
boolean |
isGlobalRunbook()
Get the isGlobalRunbook property: Indicates whether this instance is global runbook.
|
String |
name()
Get the name property: Indicates name of the webhook.
|
String |
runbookName()
Get the runbookName property: The name for this runbook.
|
String |
serviceUri()
Get the serviceUri property: The URI where webhooks should be sent.
|
boolean |
useCommonAlertSchema()
Get the useCommonAlertSchema property: Indicates whether to use common alert schema.
|
void |
validate()
Validates the instance.
|
String |
webhookResourceId()
Get the webhookResourceId property: The resource id for webhook linked to this runbook.
|
AutomationRunbookReceiver |
withAutomationAccountId(String automationAccountId)
Set the automationAccountId property: The Azure automation account Id which holds this runbook and authenticate
to Azure resource.
|
AutomationRunbookReceiver |
withIsGlobalRunbook(boolean isGlobalRunbook)
Set the isGlobalRunbook property: Indicates whether this instance is global runbook.
|
AutomationRunbookReceiver |
withName(String name)
Set the name property: Indicates name of the webhook.
|
AutomationRunbookReceiver |
withRunbookName(String runbookName)
Set the runbookName property: The name for this runbook.
|
AutomationRunbookReceiver |
withServiceUri(String serviceUri)
Set the serviceUri property: The URI where webhooks should be sent.
|
AutomationRunbookReceiver |
withUseCommonAlertSchema(boolean useCommonAlertSchema)
Set the useCommonAlertSchema property: Indicates whether to use common alert schema.
|
AutomationRunbookReceiver |
withWebhookResourceId(String webhookResourceId)
Set the webhookResourceId property: The resource id for webhook linked to this runbook.
|
public String automationAccountId()
public AutomationRunbookReceiver withAutomationAccountId(String automationAccountId)
automationAccountId - the automationAccountId value to set.public String runbookName()
public AutomationRunbookReceiver withRunbookName(String runbookName)
runbookName - the runbookName value to set.public String webhookResourceId()
public AutomationRunbookReceiver withWebhookResourceId(String webhookResourceId)
webhookResourceId - the webhookResourceId value to set.public boolean isGlobalRunbook()
public AutomationRunbookReceiver withIsGlobalRunbook(boolean isGlobalRunbook)
isGlobalRunbook - the isGlobalRunbook value to set.public String name()
public AutomationRunbookReceiver withName(String name)
name - the name value to set.public String serviceUri()
public AutomationRunbookReceiver withServiceUri(String serviceUri)
serviceUri - the serviceUri value to set.public boolean useCommonAlertSchema()
public AutomationRunbookReceiver withUseCommonAlertSchema(boolean useCommonAlertSchema)
useCommonAlertSchema - the useCommonAlertSchema value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.