Class AtlasStruct
java.lang.Object
com.azure.analytics.purview.datamap.models.AtlasStruct
- All Implemented Interfaces:
com.azure.json.JsonSerializable<AtlasStruct>
public final class AtlasStruct
extends Object
implements com.azure.json.JsonSerializable<AtlasStruct>
Captures details of struct contents. Not instantiated directly, used only via
AtlasEntity, AtlasClassification.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic AtlasStructfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of AtlasStruct from the JsonReader.Get the attributes property: The attributes of the struct.Get the lastModifiedTS property: ETag for concurrency control.Get the typeName property: The name of the type.setAttributes(Map<String, com.azure.core.util.BinaryData> attributes) Set the attributes property: The attributes of the struct.setLastModifiedTS(String lastModifiedTS) Set the lastModifiedTS property: ETag for concurrency control.setTypeName(String typeName) Set the typeName property: The name of the type.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
-
AtlasStruct
public AtlasStruct()Creates an instance of AtlasStruct class.
-
-
Method Details
-
getAttributes
Get the attributes property: The attributes of the struct.- Returns:
- the attributes value.
-
setAttributes
Set the attributes property: The attributes of the struct.- Parameters:
attributes- the attributes value to set.- Returns:
- the AtlasStruct 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 AtlasStruct object itself.
-
getLastModifiedTS
Get the lastModifiedTS property: ETag for concurrency control.- Returns:
- the lastModifiedTS value.
-
setLastModifiedTS
Set the lastModifiedTS property: ETag for concurrency control.- Parameters:
lastModifiedTS- the lastModifiedTS value to set.- Returns:
- the AtlasStruct object itself.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<AtlasStruct>- Throws:
IOException
-
fromJson
Reads an instance of AtlasStruct from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of AtlasStruct 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 AtlasStruct.
-