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 Details

    • ServerFarmRdpDetailsInner

      public ServerFarmRdpDetailsInner()
      Creates an instance of ServerFarmRdpDetailsInner class.
  • Method Details

    • rdpPassword

      public String rdpPassword()
      Get the rdpPassword property: The RDP password for the server farm.
      Returns:
      the rdpPassword value.
    • withRdpPassword

      public ServerFarmRdpDetailsInner withRdpPassword(String rdpPassword)
      Set the rdpPassword property: The RDP password for the server farm.
      Parameters:
      rdpPassword - the rdpPassword value to set.
      Returns:
      the ServerFarmRdpDetailsInner object itself.
    • rdpPasswordExpiry

      public OffsetDateTime rdpPasswordExpiry()
      Get the rdpPasswordExpiry property: The RDP password expiry date.
      Returns:
      the rdpPasswordExpiry value.
    • withRdpPasswordExpiry

      public ServerFarmRdpDetailsInner withRdpPasswordExpiry(OffsetDateTime rdpPasswordExpiry)
      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

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.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.