Class AgentRegistrationRegenerateKeyParameter

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

public final class AgentRegistrationRegenerateKeyParameter extends Object
The parameters supplied to the regenerate keys operation.
  • Constructor Details

    • AgentRegistrationRegenerateKeyParameter

      public AgentRegistrationRegenerateKeyParameter()
  • Method Details

    • keyName

      public AgentRegistrationKeyName keyName()
      Get the keyName property: Gets or sets the agent registration key name - primary or secondary.
      Returns:
      the keyName value.
    • withKeyName

      Set the keyName property: Gets or sets the agent registration key name - primary or secondary.
      Parameters:
      keyName - the keyName value to set.
      Returns:
      the AgentRegistrationRegenerateKeyParameter object itself.
    • validate

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