Class HybridRunbookWorkerGroupCreateOrUpdateParameters

java.lang.Object
com.azure.resourcemanager.automation.models.HybridRunbookWorkerGroupCreateOrUpdateParameters

public final class HybridRunbookWorkerGroupCreateOrUpdateParameters extends Object
The parameters supplied to the create hybrid runbook worker group operation.
  • Constructor Details

    • HybridRunbookWorkerGroupCreateOrUpdateParameters

      public HybridRunbookWorkerGroupCreateOrUpdateParameters()
  • Method Details

    • name

      public String 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

      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.