Class WebhookInner
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.automation.fluent.models.WebhookInner
public final class WebhookInner
extends com.azure.core.management.ProxyResource
Definition of the webhook type.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the creationTime property: Gets or sets the creation time.Get the description property: Gets or sets the description.Get the expiryTime property: Gets or sets the expiry time.Get the isEnabled property: Gets or sets the value of the enabled flag of the webhook.Get the lastInvokedTime property: Gets or sets the last invoked time.Get the lastModifiedBy property: Details of the user who last modified the Webhook.Get the lastModifiedTime property: Gets or sets the last modified time.Get the parameters property: Gets or sets the parameters of the job that is created when the webhook calls the runbook it is associated with.runbook()
Get the runbook property: Gets or sets the runbook the webhook is associated with.runOn()
Get the runOn property: Gets or sets the name of the hybrid worker group the webhook job will run on.uri()
Get the uri property: Gets or sets the webhook uri.void
validate()
Validates the instance.withCreationTime
(OffsetDateTime creationTime) Set the creationTime property: Gets or sets the creation time.withDescription
(String description) Set the description property: Gets or sets the description.withExpiryTime
(OffsetDateTime expiryTime) Set the expiryTime property: Gets or sets the expiry time.withIsEnabled
(Boolean isEnabled) Set the isEnabled property: Gets or sets the value of the enabled flag of the webhook.withLastInvokedTime
(OffsetDateTime lastInvokedTime) Set the lastInvokedTime property: Gets or sets the last invoked time.withLastModifiedBy
(String lastModifiedBy) Set the lastModifiedBy property: Details of the user who last modified the Webhook.withLastModifiedTime
(OffsetDateTime lastModifiedTime) Set the lastModifiedTime property: Gets or sets the last modified time.withParameters
(Map<String, String> parameters) Set the parameters property: Gets or sets the parameters of the job that is created when the webhook calls the runbook it is associated with.withRunbook
(RunbookAssociationProperty runbook) Set the runbook property: Gets or sets the runbook the webhook is associated with.Set the runOn property: Gets or sets the name of the hybrid worker group the webhook job will run on.Set the uri property: Gets or sets the webhook uri.Methods inherited from class com.azure.core.management.ProxyResource
id, name, type
-
Constructor Details
-
WebhookInner
public WebhookInner()
-
-
Method Details
-
isEnabled
Get the isEnabled property: Gets or sets the value of the enabled flag of the webhook.- Returns:
- the isEnabled value.
-
withIsEnabled
Set the isEnabled property: Gets or sets the value of the enabled flag of the webhook.- Parameters:
isEnabled
- the isEnabled value to set.- Returns:
- the WebhookInner object itself.
-
uri
Get the uri property: Gets or sets the webhook uri.- Returns:
- the uri value.
-
withUri
Set the uri property: Gets or sets the webhook uri.- Parameters:
uri
- the uri value to set.- Returns:
- the WebhookInner object itself.
-
expiryTime
Get the expiryTime property: Gets or sets the expiry time.- Returns:
- the expiryTime value.
-
withExpiryTime
Set the expiryTime property: Gets or sets the expiry time.- Parameters:
expiryTime
- the expiryTime value to set.- Returns:
- the WebhookInner object itself.
-
lastInvokedTime
Get the lastInvokedTime property: Gets or sets the last invoked time.- Returns:
- the lastInvokedTime value.
-
withLastInvokedTime
Set the lastInvokedTime property: Gets or sets the last invoked time.- Parameters:
lastInvokedTime
- the lastInvokedTime value to set.- Returns:
- the WebhookInner object itself.
-
parameters
Get the parameters property: Gets or sets the parameters of the job that is created when the webhook calls the runbook it is associated with.- Returns:
- the parameters value.
-
withParameters
Set the parameters property: Gets or sets the parameters of the job that is created when the webhook calls the runbook it is associated with.- Parameters:
parameters
- the parameters value to set.- Returns:
- the WebhookInner object itself.
-
runbook
Get the runbook property: Gets or sets the runbook the webhook is associated with.- Returns:
- the runbook value.
-
withRunbook
Set the runbook property: Gets or sets the runbook the webhook is associated with.- Parameters:
runbook
- the runbook value to set.- Returns:
- the WebhookInner object itself.
-
runOn
Get the runOn property: Gets or sets the name of the hybrid worker group the webhook job will run on.- Returns:
- the runOn value.
-
withRunOn
Set the runOn property: Gets or sets the name of the hybrid worker group the webhook job will run on.- Parameters:
runOn
- the runOn value to set.- Returns:
- the WebhookInner object itself.
-
creationTime
Get the creationTime property: Gets or sets the creation time.- Returns:
- the creationTime value.
-
withCreationTime
Set the creationTime property: Gets or sets the creation time.- Parameters:
creationTime
- the creationTime value to set.- Returns:
- the WebhookInner object itself.
-
lastModifiedTime
Get the lastModifiedTime property: Gets or sets the last modified time.- Returns:
- the lastModifiedTime value.
-
withLastModifiedTime
Set the lastModifiedTime property: Gets or sets the last modified time.- Parameters:
lastModifiedTime
- the lastModifiedTime value to set.- Returns:
- the WebhookInner object itself.
-
lastModifiedBy
Get the lastModifiedBy property: Details of the user who last modified the Webhook.- Returns:
- the lastModifiedBy value.
-
withLastModifiedBy
Set the lastModifiedBy property: Details of the user who last modified the Webhook.- Parameters:
lastModifiedBy
- the lastModifiedBy value to set.- Returns:
- the WebhookInner object itself.
-
description
Get the description property: Gets or sets the description.- Returns:
- the description value.
-
withDescription
Set the description property: Gets or sets the description.- Parameters:
description
- the description value to set.- Returns:
- the WebhookInner object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-