Class PrivateEndpointConnectionDataModel
java.lang.Object
com.azure.resourcemanager.hybridcompute.models.PrivateEndpointConnectionDataModel
- All Implemented Interfaces:
com.azure.json.JsonSerializable<PrivateEndpointConnectionDataModel>
public final class PrivateEndpointConnectionDataModel
extends Object
implements com.azure.json.JsonSerializable<PrivateEndpointConnectionDataModel>
The Data Model for a Private Endpoint Connection associated with a Private Link Scope.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of PrivateEndpointConnectionDataModel class. -
Method Summary
Modifier and TypeMethodDescriptionfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of PrivateEndpointConnectionDataModel from the JsonReader.id()Get the id property: The ARM Resource Id of the Private Endpoint.name()Get the name property: The Name of the Private Endpoint.Get the properties property: The Private Endpoint Connection properties.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) type()Get the type property: Azure resource type.voidvalidate()Validates the instance.withProperties(PrivateEndpointConnectionProperties properties) Set the properties property: The Private Endpoint Connection properties.Methods inherited from class java.lang.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
-
PrivateEndpointConnectionDataModel
public PrivateEndpointConnectionDataModel()Creates an instance of PrivateEndpointConnectionDataModel class.
-
-
Method Details
-
id
Get the id property: The ARM Resource Id of the Private Endpoint.- Returns:
- the id value.
-
name
Get the name property: The Name of the Private Endpoint.- Returns:
- the name value.
-
type
Get the type property: Azure resource type.- Returns:
- the type value.
-
properties
Get the properties property: The Private Endpoint Connection properties.- Returns:
- the properties value.
-
withProperties
public PrivateEndpointConnectionDataModel withProperties(PrivateEndpointConnectionProperties properties) Set the properties property: The Private Endpoint Connection properties.- Parameters:
properties- the properties value to set.- Returns:
- the PrivateEndpointConnectionDataModel 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<PrivateEndpointConnectionDataModel>- Throws:
IOException
-
fromJson
public static PrivateEndpointConnectionDataModel fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of PrivateEndpointConnectionDataModel from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of PrivateEndpointConnectionDataModel 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 PrivateEndpointConnectionDataModel.
-