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 Details

    • PrivateEndpointConnectionDataModel

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

    • id

      public String id()
      Get the id property: The ARM Resource Id of the Private Endpoint.
      Returns:
      the id value.
    • name

      public String name()
      Get the name property: The Name of the Private Endpoint.
      Returns:
      the name value.
    • type

      public String 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

      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

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