Class HybridRunbookWorkerGroupCreateOrUpdateProperties
java.lang.Object
com.azure.resourcemanager.automation.fluent.models.HybridRunbookWorkerGroupCreateOrUpdateProperties
The hybrid runbook worker group properties.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the credential property: Sets the credential of a worker group.void
validate()
Validates the instance.withCredential
(RunAsCredentialAssociationProperty credential) Set the credential property: Sets the credential of a worker group.
-
Constructor Details
-
HybridRunbookWorkerGroupCreateOrUpdateProperties
public HybridRunbookWorkerGroupCreateOrUpdateProperties()
-
-
Method Details
-
credential
Get the credential property: Sets the credential of a worker group.- Returns:
- the credential value.
-
withCredential
public HybridRunbookWorkerGroupCreateOrUpdateProperties withCredential(RunAsCredentialAssociationProperty credential) Set the credential property: Sets the credential of a worker group.- Parameters:
credential
- the credential value to set.- Returns:
- the HybridRunbookWorkerGroupCreateOrUpdateProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-