Class PrivateLinkConnectionState

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

public final class PrivateLinkConnectionState extends Object implements com.azure.json.JsonSerializable<PrivateLinkConnectionState>
The state of a private link connection.
  • Constructor Details

    • PrivateLinkConnectionState

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

    • status

      public String status()
      Get the status property: Status of a private link connection.
      Returns:
      the status value.
    • withStatus

      public PrivateLinkConnectionState withStatus(String status)
      Set the status property: Status of a private link connection.
      Parameters:
      status - the status value to set.
      Returns:
      the PrivateLinkConnectionState object itself.
    • description

      public String description()
      Get the description property: Description of a private link connection.
      Returns:
      the description value.
    • withDescription

      public PrivateLinkConnectionState withDescription(String description)
      Set the description property: Description of a private link connection.
      Parameters:
      description - the description value to set.
      Returns:
      the PrivateLinkConnectionState object itself.
    • actionsRequired

      public String actionsRequired()
      Get the actionsRequired property: ActionsRequired for a private link connection.
      Returns:
      the actionsRequired value.
    • withActionsRequired

      public PrivateLinkConnectionState withActionsRequired(String actionsRequired)
      Set the actionsRequired property: ActionsRequired for a private link connection.
      Parameters:
      actionsRequired - the actionsRequired value to set.
      Returns:
      the PrivateLinkConnectionState 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<PrivateLinkConnectionState>
      Throws:
      IOException
    • fromJson

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