Class CreatedBy
java.lang.Object
com.azure.resourcemanager.databricks.models.CreatedBy
- All Implemented Interfaces:
com.azure.json.JsonSerializable<CreatedBy>
Provides details of the entity that created/updated the workspace.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the applicationId property: The application ID of the application that initiated the creation of the workspace.static CreatedByfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of CreatedBy from the JsonReader.oid()Get the oid property: The Object ID that created the workspace.puid()Get the puid property: The Personal Object ID corresponding to the object ID above.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.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
-
CreatedBy
public CreatedBy()Creates an instance of CreatedBy class.
-
-
Method Details
-
oid
Get the oid property: The Object ID that created the workspace.- Returns:
- the oid value.
-
puid
Get the puid property: The Personal Object ID corresponding to the object ID above.- Returns:
- the puid value.
-
applicationId
Get the applicationId property: The application ID of the application that initiated the creation of the workspace. For example, Azure Portal.- Returns:
- the applicationId value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<CreatedBy>- Throws:
IOException
-
fromJson
Reads an instance of CreatedBy from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of CreatedBy 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 CreatedBy.
-