Class RegistrationInfoPatch
- java.lang.Object
-
- com.azure.resourcemanager.desktopvirtualization.models.RegistrationInfoPatch
-
public final class RegistrationInfoPatch extends Object
Represents a RegistrationInfo definition.
-
-
Constructor Summary
Constructors Constructor Description RegistrationInfoPatch()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OffsetDateTimeexpirationTime()Get the expirationTime property: Expiration time of registration token.RegistrationTokenOperationregistrationTokenOperation()Get the registrationTokenOperation property: The type of resetting the token.voidvalidate()Validates the instance.RegistrationInfoPatchwithExpirationTime(OffsetDateTime expirationTime)Set the expirationTime property: Expiration time of registration token.RegistrationInfoPatchwithRegistrationTokenOperation(RegistrationTokenOperation registrationTokenOperation)Set the registrationTokenOperation property: The type of resetting the token.
-
-
-
Method Detail
-
expirationTime
public OffsetDateTime expirationTime()
Get the expirationTime property: Expiration time of registration token.- Returns:
- the expirationTime value.
-
withExpirationTime
public RegistrationInfoPatch withExpirationTime(OffsetDateTime expirationTime)
Set the expirationTime property: Expiration time of registration token.- Parameters:
expirationTime- the expirationTime value to set.- Returns:
- the RegistrationInfoPatch object itself.
-
registrationTokenOperation
public RegistrationTokenOperation registrationTokenOperation()
Get the registrationTokenOperation property: The type of resetting the token.- Returns:
- the registrationTokenOperation value.
-
withRegistrationTokenOperation
public RegistrationInfoPatch withRegistrationTokenOperation(RegistrationTokenOperation registrationTokenOperation)
Set the registrationTokenOperation property: The type of resetting the token.- Parameters:
registrationTokenOperation- the registrationTokenOperation value to set.- Returns:
- the RegistrationInfoPatch object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-