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 Summary
ConstructorsConstructorDescriptionCreates an instance of PrivateLinkConnectionState class. -
Method Summary
Modifier and TypeMethodDescriptionGet the actionsRequired property: ActionsRequired for a private link connection.Get the description property: Description of a private link connection.static PrivateLinkConnectionState
fromJson
(com.azure.json.JsonReader jsonReader) Reads an instance of PrivateLinkConnectionState from the JsonReader.status()
Get the status property: Status of a private link connection.com.azure.json.JsonWriter
toJson
(com.azure.json.JsonWriter jsonWriter) void
validate()
Validates the instance.withActionsRequired
(String actionsRequired) Set the actionsRequired property: ActionsRequired for a private link connection.withDescription
(String description) Set the description property: Description of a private link connection.withStatus
(String status) Set the status property: Status of a private link connection.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
-
PrivateLinkConnectionState
public PrivateLinkConnectionState()Creates an instance of PrivateLinkConnectionState class.
-
-
Method Details
-
status
Get the status property: Status of a private link connection.- Returns:
- the status value.
-
withStatus
Set the status property: Status of a private link connection.- Parameters:
status
- the status value to set.- Returns:
- the PrivateLinkConnectionState object itself.
-
description
Get the description property: Description of a private link connection.- Returns:
- the description value.
-
withDescription
Set the description property: Description of a private link connection.- Parameters:
description
- the description value to set.- Returns:
- the PrivateLinkConnectionState object itself.
-
actionsRequired
Get the actionsRequired property: ActionsRequired for a private link connection.- Returns:
- the actionsRequired value.
-
withActionsRequired
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
- Specified by:
toJson
in interfacecom.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.
-