Class NotebookWorkspaceConnectionInfoResultInner
java.lang.Object
com.azure.resourcemanager.cosmos.fluent.models.NotebookWorkspaceConnectionInfoResultInner
- All Implemented Interfaces:
com.azure.json.JsonSerializable<NotebookWorkspaceConnectionInfoResultInner>
public final class NotebookWorkspaceConnectionInfoResultInner
extends Object
implements com.azure.json.JsonSerializable<NotebookWorkspaceConnectionInfoResultInner>
The connection info for the given notebook workspace.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of NotebookWorkspaceConnectionInfoResultInner class. -
Method Summary
Modifier and TypeMethodDescriptionGet the authToken property: Specifies auth token used for connecting to Notebook server (uses token-based auth).fromJson
(com.azure.json.JsonReader jsonReader) Reads an instance of NotebookWorkspaceConnectionInfoResultInner from the JsonReader.Get the notebookServerEndpoint property: Specifies the endpoint of Notebook server.com.azure.json.JsonWriter
toJson
(com.azure.json.JsonWriter jsonWriter) void
validate()
Validates the instance.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
-
NotebookWorkspaceConnectionInfoResultInner
public NotebookWorkspaceConnectionInfoResultInner()Creates an instance of NotebookWorkspaceConnectionInfoResultInner class.
-
-
Method Details
-
authToken
Get the authToken property: Specifies auth token used for connecting to Notebook server (uses token-based auth).- Returns:
- the authToken value.
-
notebookServerEndpoint
Get the notebookServerEndpoint property: Specifies the endpoint of Notebook server.- Returns:
- the notebookServerEndpoint 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<NotebookWorkspaceConnectionInfoResultInner>
- Throws:
IOException
-
fromJson
public static NotebookWorkspaceConnectionInfoResultInner fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of NotebookWorkspaceConnectionInfoResultInner from the JsonReader.- Parameters:
jsonReader
- The JsonReader being read.- Returns:
- An instance of NotebookWorkspaceConnectionInfoResultInner 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 NotebookWorkspaceConnectionInfoResultInner.
-