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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic PurviewObjectIdfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of PurviewObjectId from the JsonReader.Get the displayText property: Display text.getGuid()Get the guid property: The GUID of the object.Get the itemPath property: Item path.getName()Get the name property: Name.Get the properties property: Dictionary of <any>.Get the resourceId property: Resource Id.Get the typeName property: The name of the type.Get the uniqueAttributes property: The unique attributes of the object.setDisplayText(String displayText) Set the displayText property: Display text.Set the guid property: The GUID of the object.setItemPath(String itemPath) Set the itemPath property: Item path.Set the name property: Name.setProperties(Map<String, com.azure.core.util.BinaryData> properties) Set the properties property: Dictionary of <any>.setResourceId(String resourceId) Set the resourceId property: Resource Id.setTypeName(String typeName) Set the typeName property: The name of the type.setUniqueAttributes(Map<String, com.azure.core.util.BinaryData> uniqueAttributes) Set the uniqueAttributes property: The unique attributes of the object.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) 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
-
PurviewObjectId
public PurviewObjectId()Creates an instance of PurviewObjectId class.
-
-
Method Details
-
getGuid
Get the guid property: The GUID of the object.- Returns:
- the guid value.
-
setGuid
Set the guid property: The GUID of the object.- Parameters:
guid- the guid value to set.- Returns:
- the PurviewObjectId object itself.
-
getTypeName
Get the typeName property: The name of the type.- Returns:
- the typeName value.
-
setTypeName
Set the typeName property: The name of the type.- Parameters:
typeName- the typeName value to set.- Returns:
- the PurviewObjectId object itself.
-
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
Get the name property: Name.- Returns:
- the name value.
-
setName
Set the name property: Name.- Parameters:
name- the name value to set.- Returns:
- the PurviewObjectId object itself.
-
getDisplayText
Get the displayText property: Display text.- Returns:
- the displayText value.
-
setDisplayText
Set the displayText property: Display text.- Parameters:
displayText- the displayText value to set.- Returns:
- the PurviewObjectId object itself.
-
getItemPath
Get the itemPath property: Item path.- Returns:
- the itemPath value.
-
setItemPath
Set the itemPath property: Item path.- Parameters:
itemPath- the itemPath value to set.- Returns:
- the PurviewObjectId object itself.
-
getResourceId
Get the resourceId property: Resource Id.- Returns:
- the resourceId value.
-
setResourceId
Set the resourceId property: Resource Id.- Parameters:
resourceId- the resourceId value to set.- Returns:
- the PurviewObjectId object itself.
-
getProperties
Get the properties property: Dictionary of <any>.- Returns:
- the properties value.
-
setProperties
Set the properties property: Dictionary of <any>.- Parameters:
properties- the properties value to set.- Returns:
- the PurviewObjectId object itself.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<PurviewObjectId>- Throws:
IOException
-
fromJson
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.
-