Class MhsmPrivateEndpointConnectionItem

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

public final class MhsmPrivateEndpointConnectionItem extends Object implements com.azure.json.JsonSerializable<MhsmPrivateEndpointConnectionItem>
Private endpoint connection item.
  • Method Details

    • id

      public String id()
      Get the id property: Id of private endpoint connection.
      Returns:
      the id value.
    • etag

      public String etag()
      Get the etag property: Modified whenever there is a change in the state of private endpoint connection.
      Returns:
      the etag value.
    • privateEndpoint

      public MhsmPrivateEndpoint privateEndpoint()
      Get the privateEndpoint property: Properties of the private endpoint object.
      Returns:
      the privateEndpoint value.
    • privateLinkServiceConnectionState

      public MhsmPrivateLinkServiceConnectionState privateLinkServiceConnectionState()
      Get the privateLinkServiceConnectionState property: Approval state of the private link connection.
      Returns:
      the privateLinkServiceConnectionState value.
    • provisioningState

      public PrivateEndpointConnectionProvisioningState provisioningState()
      Get the provisioningState property: Provisioning state of the private endpoint connection.
      Returns:
      the provisioningState 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<MhsmPrivateEndpointConnectionItem>
      Throws:
      IOException
    • fromJson

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