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 Summary
ConstructorsConstructorDescriptionCreates an instance of PrivateLinkServiceConnectionStateProperty class. -
Method Summary
Modifier and TypeMethodDescriptionGet the actionsRequired property: Any action that is required beyond basic workflow (approve/ reject/ disconnect).Get the description property: The private link service connection description.fromJson
(com.azure.json.JsonReader jsonReader) Reads an instance of PrivateLinkServiceConnectionStateProperty from the JsonReader.status()
Get the status property: The private link service connection status.com.azure.json.JsonWriter
toJson
(com.azure.json.JsonWriter jsonWriter) void
validate()
Validates the instance.withDescription
(String description) Set the description property: The private link service connection description.withStatus
(String status) Set the status property: The private link service connection status.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
PrivateLinkServiceConnectionStateProperty
public PrivateLinkServiceConnectionStateProperty()Creates an instance of PrivateLinkServiceConnectionStateProperty class.
-
-
Method Details
-
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
Get the description property: The private link service connection description.- Returns:
- the description value.
-
withDescription
Set the description property: The private link service connection description.- Parameters:
description
- the description value to set.- Returns:
- the PrivateLinkServiceConnectionStateProperty object itself.
-
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
- Specified by:
toJson
in interfacecom.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.
-