RegistrationInfoInner Class
- java.
lang. Object - com.
azure. resourcemanager. desktopvirtualization. fluent. models. RegistrationInfoInner
- com.
Implements
public final class RegistrationInfoInner
implements JsonSerializable<RegistrationInfoInner>
Represents a RegistrationInfo definition.
Constructor Summary
| Constructor | Description |
|---|---|
| RegistrationInfoInner() |
Creates an instance of Registration |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Offset |
expirationTime()
Get the expiration |
|
static
Registration |
fromJson(JsonReader jsonReader)
Reads an instance of Registration |
|
Registration |
registrationTokenOperation()
Get the registration |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
token()
Get the token property: The registration token base64 encoded string. |
| void |
validate()
Validates the instance. |
|
Registration |
withExpirationTime(OffsetDateTime expirationTime)
Set the expiration |
|
Registration |
withRegistrationTokenOperation(RegistrationTokenOperation registrationTokenOperation)
Set the registration |
|
Registration |
withToken(String token)
Set the token property: The registration token base64 encoded string. |
Methods inherited from java.lang.Object
Constructor Details
RegistrationInfoInner
public RegistrationInfoInner()
Creates an instance of RegistrationInfoInner class.
Method Details
expirationTime
public OffsetDateTime expirationTime()
Get the expirationTime property: Expiration time of registration token.
Returns:
fromJson
public static RegistrationInfoInner fromJson(JsonReader jsonReader)
Reads an instance of RegistrationInfoInner from the JsonReader.
Parameters:
Returns:
Throws:
registrationTokenOperation
public RegistrationTokenOperation registrationTokenOperation()
Get the registrationTokenOperation property: The type of resetting the token.
Returns:
toJson
token
public String token()
Get the token property: The registration token base64 encoded string.
Returns:
validate
public void validate()
Validates the instance.
withExpirationTime
public RegistrationInfoInner withExpirationTime(OffsetDateTime expirationTime)
Set the expirationTime property: Expiration time of registration token.
Parameters:
Returns:
withRegistrationTokenOperation
public RegistrationInfoInner withRegistrationTokenOperation(RegistrationTokenOperation registrationTokenOperation)
Set the registrationTokenOperation property: The type of resetting the token.
Parameters:
Returns:
withToken
public RegistrationInfoInner withToken(String token)
Set the token property: The registration token base64 encoded string.
Parameters:
Returns: