RegistrationInfoPatch Class
- java.
lang. Object - com.
azure. resourcemanager. desktopvirtualization. models. RegistrationInfoPatch
- com.
Implements
public final class RegistrationInfoPatch
implements JsonSerializable<RegistrationInfoPatch>
Represents a RegistrationInfo definition.
Constructor Summary
| Constructor | Description |
|---|---|
| RegistrationInfoPatch() |
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) |
| void |
validate()
Validates the instance. |
|
Registration |
withExpirationTime(OffsetDateTime expirationTime)
Set the expiration |
|
Registration |
withRegistrationTokenOperation(RegistrationTokenOperation registrationTokenOperation)
Set the registration |
Methods inherited from java.lang.Object
Constructor Details
RegistrationInfoPatch
public RegistrationInfoPatch()
Creates an instance of RegistrationInfoPatch class.
Method Details
expirationTime
public OffsetDateTime expirationTime()
Get the expirationTime property: Expiration time of registration token.
Returns:
fromJson
public static RegistrationInfoPatch fromJson(JsonReader jsonReader)
Reads an instance of RegistrationInfoPatch from the JsonReader.
Parameters:
Returns:
Throws:
registrationTokenOperation
public RegistrationTokenOperation registrationTokenOperation()
Get the registrationTokenOperation property: The type of resetting the token.
Returns:
toJson
validate
public void validate()
Validates the instance.
withExpirationTime
public RegistrationInfoPatch withExpirationTime(OffsetDateTime expirationTime)
Set the expirationTime property: Expiration time of registration token.
Parameters:
Returns:
withRegistrationTokenOperation
public RegistrationInfoPatch withRegistrationTokenOperation(RegistrationTokenOperation registrationTokenOperation)
Set the registrationTokenOperation property: The type of resetting the token.
Parameters:
Returns: