Class PrivateLinkServiceConnectionStateProperty

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

public final class PrivateLinkServiceConnectionStateProperty extends Object implements com.azure.json.JsonSerializable<PrivateLinkServiceConnectionStateProperty>
Connection State of the Private Endpoint Connection.
  • Constructor Details

    • PrivateLinkServiceConnectionStateProperty

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

    • status

      public String status()
      Get the status property: The private link service connection status.
      Returns:
      the status value.
    • withStatus

      Set the status property: The private link service connection status.
      Parameters:
      status - the status value to set.
      Returns:
      the PrivateLinkServiceConnectionStateProperty object itself.
    • description

      public String description()
      Get the description property: The private link service connection description.
      Returns:
      the description value.
    • withDescription

      public PrivateLinkServiceConnectionStateProperty withDescription(String description)
      Set the description property: The private link service connection description.
      Parameters:
      description - the description value to set.
      Returns:
      the PrivateLinkServiceConnectionStateProperty object itself.
    • actionsRequired

      public String actionsRequired()
      Get the actionsRequired property: Any action that is required beyond basic workflow (approve/ reject/ disconnect).
      Returns:
      the actionsRequired 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<PrivateLinkServiceConnectionStateProperty>
      Throws:
      IOException
    • fromJson

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