Class RunAsCredentialAssociationProperty

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

public final class RunAsCredentialAssociationProperty extends Object
Definition of RunAs credential to use for hybrid worker.
  • Constructor Details

    • RunAsCredentialAssociationProperty

      public RunAsCredentialAssociationProperty()
  • Method Details

    • name

      public String name()
      Get the name property: Gets or sets the name of the credential.
      Returns:
      the name value.
    • withName

      Set the name property: Gets or sets the name of the credential.
      Parameters:
      name - the name value to set.
      Returns:
      the RunAsCredentialAssociationProperty object itself.
    • validate

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