Class PurviewObjectId

java.lang.Object
com.azure.analytics.purview.datamap.models.PurviewObjectId
All Implemented Interfaces:
com.azure.json.JsonSerializable<PurviewObjectId>

public final class PurviewObjectId extends Object implements com.azure.json.JsonSerializable<PurviewObjectId>
PurviewObjectId.
  • Constructor Details

    • PurviewObjectId

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

    • getGuid

      public String getGuid()
      Get the guid property: The GUID of the object.
      Returns:
      the guid value.
    • setGuid

      public PurviewObjectId setGuid(String guid)
      Set the guid property: The GUID of the object.
      Parameters:
      guid - the guid value to set.
      Returns:
      the PurviewObjectId object itself.
    • getTypeName

      public String getTypeName()
      Get the typeName property: The name of the type.
      Returns:
      the typeName value.
    • setTypeName

      public PurviewObjectId setTypeName(String typeName)
      Set the typeName property: The name of the type.
      Parameters:
      typeName - the typeName value to set.
      Returns:
      the PurviewObjectId object itself.
    • getUniqueAttributes

      public Map<String,com.azure.core.util.BinaryData> getUniqueAttributes()
      Get the uniqueAttributes property: The unique attributes of the object.
      Returns:
      the uniqueAttributes value.
    • setUniqueAttributes

      public PurviewObjectId setUniqueAttributes(Map<String,com.azure.core.util.BinaryData> uniqueAttributes)
      Set the uniqueAttributes property: The unique attributes of the object.
      Parameters:
      uniqueAttributes - the uniqueAttributes value to set.
      Returns:
      the PurviewObjectId object itself.
    • getName

      public String getName()
      Get the name property: Name.
      Returns:
      the name value.
    • setName

      public PurviewObjectId setName(String name)
      Set the name property: Name.
      Parameters:
      name - the name value to set.
      Returns:
      the PurviewObjectId object itself.
    • getDisplayText

      public String getDisplayText()
      Get the displayText property: Display text.
      Returns:
      the displayText value.
    • setDisplayText

      public PurviewObjectId setDisplayText(String displayText)
      Set the displayText property: Display text.
      Parameters:
      displayText - the displayText value to set.
      Returns:
      the PurviewObjectId object itself.
    • getItemPath

      public String getItemPath()
      Get the itemPath property: Item path.
      Returns:
      the itemPath value.
    • setItemPath

      public PurviewObjectId setItemPath(String itemPath)
      Set the itemPath property: Item path.
      Parameters:
      itemPath - the itemPath value to set.
      Returns:
      the PurviewObjectId object itself.
    • getResourceId

      public String getResourceId()
      Get the resourceId property: Resource Id.
      Returns:
      the resourceId value.
    • setResourceId

      public PurviewObjectId setResourceId(String resourceId)
      Set the resourceId property: Resource Id.
      Parameters:
      resourceId - the resourceId value to set.
      Returns:
      the PurviewObjectId object itself.
    • getProperties

      public Map<String,com.azure.core.util.BinaryData> getProperties()
      Get the properties property: Dictionary of <any>.
      Returns:
      the properties value.
    • setProperties

      public PurviewObjectId setProperties(Map<String,com.azure.core.util.BinaryData> properties)
      Set the properties property: Dictionary of <any>.
      Parameters:
      properties - the properties value to set.
      Returns:
      the PurviewObjectId object itself.
    • toJson

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

      public static PurviewObjectId fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of PurviewObjectId from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of PurviewObjectId 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 PurviewObjectId.