Class PrivateEndpointConnectionRequestStatus

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

public final class PrivateEndpointConnectionRequestStatus extends Object implements com.azure.json.JsonSerializable<PrivateEndpointConnectionRequestStatus>
Contains the private endpoint connection requests status.
  • Constructor Details

    • PrivateEndpointConnectionRequestStatus

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

    • privateLinkServiceId

      public String privateLinkServiceId()
      Get the privateLinkServiceId property: Resource id for which the private endpoint is created.
      Returns:
      the privateLinkServiceId value.
    • privateEndpointConnectionName

      public String privateEndpointConnectionName()
      Get the privateEndpointConnectionName property: The connection name for the private endpoint.
      Returns:
      the privateEndpointConnectionName value.
    • status

      public String status()
      Get the status property: Status of this private endpoint connection.
      Returns:
      the status value.
    • 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<PrivateEndpointConnectionRequestStatus>
      Throws:
      IOException
    • fromJson

      public static PrivateEndpointConnectionRequestStatus fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of PrivateEndpointConnectionRequestStatus from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of PrivateEndpointConnectionRequestStatus 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 PrivateEndpointConnectionRequestStatus.