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