Class RegistrationInfoInner
- java.lang.Object
-
- com.azure.resourcemanager.desktopvirtualization.fluent.models.RegistrationInfoInner
-
public final class RegistrationInfoInner extends Object
Represents a RegistrationInfo definition.
-
-
Constructor Summary
Constructors Constructor Description RegistrationInfoInner()
-
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.Stringtoken()Get the token property: The registration token base64 encoded string.voidvalidate()Validates the instance.RegistrationInfoInnerwithExpirationTime(OffsetDateTime expirationTime)Set the expirationTime property: Expiration time of registration token.RegistrationInfoInnerwithRegistrationTokenOperation(RegistrationTokenOperation registrationTokenOperation)Set the registrationTokenOperation property: The type of resetting the token.RegistrationInfoInnerwithToken(String token)Set the token property: The registration token base64 encoded string.
-
-
-
Method Detail
-
expirationTime
public OffsetDateTime expirationTime()
Get the expirationTime property: Expiration time of registration token.- Returns:
- the expirationTime value.
-
withExpirationTime
public RegistrationInfoInner withExpirationTime(OffsetDateTime expirationTime)
Set the expirationTime property: Expiration time of registration token.- Parameters:
expirationTime- the expirationTime value to set.- Returns:
- the RegistrationInfoInner object itself.
-
token
public String token()
Get the token property: The registration token base64 encoded string.- Returns:
- the token value.
-
withToken
public RegistrationInfoInner withToken(String token)
Set the token property: The registration token base64 encoded string.- Parameters:
token- the token value to set.- Returns:
- the RegistrationInfoInner object itself.
-
registrationTokenOperation
public RegistrationTokenOperation 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.
-
-