Class AccountKeyRegenerateRequest
java.lang.Object
com.azure.resourcemanager.mixedreality.models.AccountKeyRegenerateRequest
Request for account key regeneration.
-
Constructor Summary
ConstructorDescriptionCreates an instance of AccountKeyRegenerateRequest class. -
Method Summary
Modifier and TypeMethodDescriptionserial()
Get the serial property: serial of key to be regenerated.void
validate()
Validates the instance.withSerial
(Serial serial) Set the serial property: serial of key to be regenerated.
-
Constructor Details
-
AccountKeyRegenerateRequest
public AccountKeyRegenerateRequest()Creates an instance of AccountKeyRegenerateRequest class.
-
-
Method Details
-
serial
Get the serial property: serial of key to be regenerated.- Returns:
- the serial value.
-
withSerial
Set the serial property: serial of key to be regenerated.- Parameters:
serial
- the serial value to set.- Returns:
- the AccountKeyRegenerateRequest object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-