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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic PrivateConnectProfilefromJson(com.azure.json.JsonReader jsonReader) Reads an instance of PrivateConnectProfile from the JsonReader.Get the subnetResourceId property: Delegated Subnet to AppLink.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) withSubnetResourceId(String subnetResourceId) Set the subnetResourceId property: Delegated Subnet to AppLink.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
-
PrivateConnectProfile
public PrivateConnectProfile()Creates an instance of PrivateConnectProfile class.
-
-
Method Details
-
subnetResourceId
Get the subnetResourceId property: Delegated Subnet to AppLink.- Returns:
- the subnetResourceId value.
-
withSubnetResourceId
Set the subnetResourceId property: Delegated Subnet to AppLink.- Parameters:
subnetResourceId- the subnetResourceId value to set.- Returns:
- the PrivateConnectProfile object itself.
-
toJson
- Specified by:
toJsonin interfacecom.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.
-