Class AgentRegistrationRegenerateKeyParameter
java.lang.Object
com.azure.resourcemanager.automation.models.AgentRegistrationRegenerateKeyParameter
The parameters supplied to the regenerate keys operation.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionkeyName()
Get the keyName property: Gets or sets the agent registration key name - primary or secondary.void
validate()
Validates the instance.withKeyName
(AgentRegistrationKeyName keyName) Set the keyName property: Gets or sets the agent registration key name - primary or secondary.
-
Constructor Details
-
AgentRegistrationRegenerateKeyParameter
public AgentRegistrationRegenerateKeyParameter()
-
-
Method Details
-
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.
-