Class PrivateConnectProfile

java.lang.Object
com.azure.resourcemanager.appnetwork.models.PrivateConnectProfile
All Implemented Interfaces:
com.azure.json.JsonSerializable<PrivateConnectProfile>

public final class PrivateConnectProfile extends Object implements com.azure.json.JsonSerializable<PrivateConnectProfile>
AppLinkMember private connect profile.
  • Constructor Details

    • PrivateConnectProfile

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

    • subnetResourceId

      public String subnetResourceId()
      Get the subnetResourceId property: Delegated Subnet to AppLink.
      Returns:
      the subnetResourceId value.
    • withSubnetResourceId

      public PrivateConnectProfile withSubnetResourceId(String subnetResourceId)
      Set the subnetResourceId property: Delegated Subnet to AppLink.
      Parameters:
      subnetResourceId - the subnetResourceId value to set.
      Returns:
      the PrivateConnectProfile object itself.
    • toJson

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.azure.json.JsonSerializable<PrivateConnectProfile>
      Throws:
      IOException
    • fromJson

      public static PrivateConnectProfile fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of PrivateConnectProfile from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of PrivateConnectProfile if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
      Throws:
      IllegalStateException - If the deserialized JSON object was missing any required properties.
      IOException - If an error occurs while reading the PrivateConnectProfile.