Class RegistrationInfoInner
java.lang.Object
com.azure.resourcemanager.desktopvirtualization.fluent.models.RegistrationInfoInner
Represents a RegistrationInfo definition.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the expirationTime property: Expiration time of registration token.Get the registrationTokenOperation property: The type of resetting the token.token()
Get the token property: The registration token base64 encoded string.void
validate()
Validates the instance.withExpirationTime
(OffsetDateTime expirationTime) Set the expirationTime property: Expiration time of registration token.withRegistrationTokenOperation
(RegistrationTokenOperation registrationTokenOperation) Set the registrationTokenOperation property: The type of resetting the token.Set the token property: The registration token base64 encoded string.
-
Constructor Details
-
RegistrationInfoInner
public RegistrationInfoInner()
-
-
Method Details
-
expirationTime
Get the expirationTime property: Expiration time of registration token.- Returns:
- the expirationTime value.
-
withExpirationTime
Set the expirationTime property: Expiration time of registration token.- Parameters:
expirationTime
- the expirationTime value to set.- Returns:
- the RegistrationInfoInner object itself.
-
token
Get the token property: The registration token base64 encoded string.- Returns:
- the token value.
-
withToken
Set the token property: The registration token base64 encoded string.- Parameters:
token
- the token value to set.- Returns:
- the RegistrationInfoInner object itself.
-
registrationTokenOperation
Get the registrationTokenOperation property: The type of resetting the token.- Returns:
- the registrationTokenOperation value.
-
withRegistrationTokenOperation
public RegistrationInfoInner withRegistrationTokenOperation(RegistrationTokenOperation registrationTokenOperation) Set the registrationTokenOperation property: The type of resetting the token.- Parameters:
registrationTokenOperation
- the registrationTokenOperation value to set.- Returns:
- the RegistrationInfoInner object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-