Class HybridRunbookWorkerCreateParameters

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

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

    • HybridRunbookWorkerCreateParameters

      public HybridRunbookWorkerCreateParameters()
  • 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 HybridRunbookWorkerCreateParameters object itself.
    • vmResourceId

      public String vmResourceId()
      Get the vmResourceId property: Azure Resource Manager Id for a virtual machine.
      Returns:
      the vmResourceId value.
    • withVmResourceId

      public HybridRunbookWorkerCreateParameters withVmResourceId(String vmResourceId)
      Set the vmResourceId property: Azure Resource Manager Id for a virtual machine.
      Parameters:
      vmResourceId - the vmResourceId value to set.
      Returns:
      the HybridRunbookWorkerCreateParameters object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.