Class HybridRunbookWorkerGroupCreateOrUpdateParameters
java.lang.Object
com.azure.resourcemanager.automation.models.HybridRunbookWorkerGroupCreateOrUpdateParameters
The parameters supplied to the create hybrid runbook worker group operation.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the credential property: Sets the credential of a worker group.name()
Get the name property: Gets or sets the name of the resource.void
validate()
Validates the instance.withCredential
(RunAsCredentialAssociationProperty credential) Set the credential property: Sets the credential of a worker group.Set the name property: Gets or sets the name of the resource.
-
Constructor Details
-
HybridRunbookWorkerGroupCreateOrUpdateParameters
public HybridRunbookWorkerGroupCreateOrUpdateParameters()
-
-
Method Details
-
name
Get the name property: Gets or sets the name of the resource.- Returns:
- the name value.
-
withName
Set the name property: Gets or sets the name of the resource.- Parameters:
name
- the name value to set.- Returns:
- the HybridRunbookWorkerGroupCreateOrUpdateParameters object itself.
-
credential
Get the credential property: Sets the credential of a worker group.- Returns:
- the credential value.
-
withCredential
public HybridRunbookWorkerGroupCreateOrUpdateParameters withCredential(RunAsCredentialAssociationProperty credential) Set the credential property: Sets the credential of a worker group.- Parameters:
credential
- the credential value to set.- Returns:
- the HybridRunbookWorkerGroupCreateOrUpdateParameters object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-