Class HybridRunbookWorkerGroupInner
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.automation.fluent.models.HybridRunbookWorkerGroupInner
public final class HybridRunbookWorkerGroupInner
extends com.azure.core.management.ProxyResource
Definition of hybrid runbook worker group.
-
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.com.azure.core.management.SystemData
Get the systemData property: Resource system metadata.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.Methods inherited from class com.azure.core.management.ProxyResource
id, name, type
-
Constructor Details
-
HybridRunbookWorkerGroupInner
public HybridRunbookWorkerGroupInner()
-
-
Method Details
-
systemData
public com.azure.core.management.SystemData systemData()Get the systemData property: Resource system metadata.- Returns:
- the systemData value.
-
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 HybridRunbookWorkerGroupInner object itself.
-
credential
Get the credential property: Sets the credential of a worker group.- Returns:
- the credential value.
-
withCredential
Set the credential property: Sets the credential of a worker group.- Parameters:
credential
- the credential value to set.- Returns:
- the HybridRunbookWorkerGroupInner object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-