java.lang.Object
com.azure.resourcemanager.databricks.models.CreatedBy
All Implemented Interfaces:
com.azure.json.JsonSerializable<CreatedBy>

public final class CreatedBy extends Object implements com.azure.json.JsonSerializable<CreatedBy>
Provides details of the entity that created/updated the workspace.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Creates an instance of CreatedBy class.
  • Method Summary

    Modifier and Type
    Method
    Description
    Get the applicationId property: The application ID of the application that initiated the creation of the workspace.
    static CreatedBy
    fromJson(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.
    Get the puid property: The Personal Object ID corresponding to the object ID above.
    com.azure.json.JsonWriter
    toJson(com.azure.json.JsonWriter jsonWriter)
    void
    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

    • CreatedBy

      public CreatedBy()
      Creates an instance of CreatedBy class.
  • Method Details

    • oid

      public UUID oid()
      Get the oid property: The Object ID that created the workspace.
      Returns:
      the oid value.
    • puid

      public String puid()
      Get the puid property: The Personal Object ID corresponding to the object ID above.
      Returns:
      the puid value.
    • applicationId

      public UUID 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

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.azure.json.JsonSerializable<CreatedBy>
      Throws:
      IOException
    • fromJson

      public static CreatedBy fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      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.