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 Details

    • AtlasStruct

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

    • getAttributes

      public Map<String,com.azure.core.util.BinaryData> getAttributes()
      Get the attributes property: The attributes of the struct.
      Returns:
      the attributes value.
    • setAttributes

      public AtlasStruct setAttributes(Map<String,com.azure.core.util.BinaryData> attributes)
      Set the attributes property: The attributes of the struct.
      Parameters:
      attributes - the attributes value to set.
      Returns:
      the AtlasStruct object itself.
    • getTypeName

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

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

      public String getLastModifiedTS()
      Get the lastModifiedTS property: ETag for concurrency control.
      Returns:
      the lastModifiedTS value.
    • setLastModifiedTS

      public AtlasStruct setLastModifiedTS(String lastModifiedTS)
      Set the lastModifiedTS property: ETag for concurrency control.
      Parameters:
      lastModifiedTS - the lastModifiedTS value to set.
      Returns:
      the AtlasStruct 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<AtlasStruct>
      Throws:
      IOException
    • fromJson

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