Class RegistryPrivateLinkServiceConnectionState
java.lang.Object
com.azure.resourcemanager.machinelearning.models.RegistryPrivateLinkServiceConnectionState
- All Implemented Interfaces:
com.azure.json.JsonSerializable<RegistryPrivateLinkServiceConnectionState>
public final class RegistryPrivateLinkServiceConnectionState
extends Object
implements com.azure.json.JsonSerializable<RegistryPrivateLinkServiceConnectionState>
The connection state.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of RegistryPrivateLinkServiceConnectionState class. -
Method Summary
Modifier and TypeMethodDescriptionGet the actionsRequired property: Some RP chose "None".Get the description property: User-defined message that, per NRP doc, may be used for approval-related message.fromJson(com.azure.json.JsonReader jsonReader) Reads an instance of RegistryPrivateLinkServiceConnectionState from the JsonReader.status()Get the status property: Connection status of the service consumer with the service provider.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.withActionsRequired(String actionsRequired) Set the actionsRequired property: Some RP chose "None".withDescription(String description) Set the description property: User-defined message that, per NRP doc, may be used for approval-related message.Set the status property: Connection status of the service consumer with the service provider.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
RegistryPrivateLinkServiceConnectionState
public RegistryPrivateLinkServiceConnectionState()Creates an instance of RegistryPrivateLinkServiceConnectionState class.
-
-
Method Details
-
actionsRequired
Get the actionsRequired property: Some RP chose "None". Other RPs use this for region expansion.- Returns:
- the actionsRequired value.
-
withActionsRequired
Set the actionsRequired property: Some RP chose "None". Other RPs use this for region expansion.- Parameters:
actionsRequired- the actionsRequired value to set.- Returns:
- the RegistryPrivateLinkServiceConnectionState object itself.
-
description
Get the description property: User-defined message that, per NRP doc, may be used for approval-related message.- Returns:
- the description value.
-
withDescription
Set the description property: User-defined message that, per NRP doc, may be used for approval-related message.- Parameters:
description- the description value to set.- Returns:
- the RegistryPrivateLinkServiceConnectionState object itself.
-
status
Get the status property: Connection status of the service consumer with the service provider.- Returns:
- the status value.
-
withStatus
Set the status property: Connection status of the service consumer with the service provider.- Parameters:
status- the status value to set.- Returns:
- the RegistryPrivateLinkServiceConnectionState object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<RegistryPrivateLinkServiceConnectionState>- Throws:
IOException
-
fromJson
public static RegistryPrivateLinkServiceConnectionState fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of RegistryPrivateLinkServiceConnectionState from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of RegistryPrivateLinkServiceConnectionState 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 RegistryPrivateLinkServiceConnectionState.
-