Class ServerFarmRdpDetailsInner
java.lang.Object
com.azure.resourcemanager.appservice.fluent.models.ServerFarmRdpDetailsInner
- All Implemented Interfaces:
com.azure.json.JsonSerializable<ServerFarmRdpDetailsInner>
public final class ServerFarmRdpDetailsInner
extends Object
implements com.azure.json.JsonSerializable<ServerFarmRdpDetailsInner>
Server Farm RDP connection details.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of ServerFarmRdpDetailsInner class. -
Method Summary
Modifier and TypeMethodDescriptionstatic ServerFarmRdpDetailsInnerfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of ServerFarmRdpDetailsInner from the JsonReader.Get the rdpPassword property: The RDP password for the server farm.Get the rdpPasswordExpiry property: The RDP password expiry date.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.withRdpPassword(String rdpPassword) Set the rdpPassword property: The RDP password for the server farm.withRdpPasswordExpiry(OffsetDateTime rdpPasswordExpiry) Set the rdpPasswordExpiry property: The RDP password expiry date.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
ServerFarmRdpDetailsInner
public ServerFarmRdpDetailsInner()Creates an instance of ServerFarmRdpDetailsInner class.
-
-
Method Details
-
rdpPassword
Get the rdpPassword property: The RDP password for the server farm.- Returns:
- the rdpPassword value.
-
withRdpPassword
Set the rdpPassword property: The RDP password for the server farm.- Parameters:
rdpPassword- the rdpPassword value to set.- Returns:
- the ServerFarmRdpDetailsInner object itself.
-
rdpPasswordExpiry
Get the rdpPasswordExpiry property: The RDP password expiry date.- Returns:
- the rdpPasswordExpiry value.
-
withRdpPasswordExpiry
Set the rdpPasswordExpiry property: The RDP password expiry date.- Parameters:
rdpPasswordExpiry- the rdpPasswordExpiry value to set.- Returns:
- the ServerFarmRdpDetailsInner object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<ServerFarmRdpDetailsInner>- Throws:
IOException
-
fromJson
public static ServerFarmRdpDetailsInner fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of ServerFarmRdpDetailsInner from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of ServerFarmRdpDetailsInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IOException- If an error occurs while reading the ServerFarmRdpDetailsInner.
-