Class SystemData

java.lang.Object
com.azure.core.management.SystemData
All Implemented Interfaces:
com.azure.json.JsonSerializable<SystemData>

public final class SystemData extends Object implements com.azure.json.JsonSerializable<SystemData>
Metadata pertaining to creation and last modification of the resource.
  • Constructor Details

    • SystemData

      public SystemData()
      Creates an instance of SystemData.
  • Method Details

    • createdBy

      public String createdBy()
      Get the identity that created the resource.
      Returns:
      the identity that created the resource.
    • createdByType

      public ResourceAuthorIdentityType createdByType()
      Get the type of identity that created the resource.
      Returns:
      the type of identity that created the resource.
    • createdAt

      public OffsetDateTime createdAt()
      Get the timestamp of resource creation (UTC).
      Returns:
      the timestamp of resource creation (UTC).
    • lastModifiedBy

      public String lastModifiedBy()
      Get the identity that last modified the resource.
      Returns:
      the identity that last modified the resource.
    • lastModifiedByType

      public ResourceAuthorIdentityType lastModifiedByType()
      Get the type of identity that last modified the resource.
      Returns:
      the type of identity that last modified the resource.
    • lastModifiedAt

      public OffsetDateTime lastModifiedAt()
      Get the type of identity that last modified the resource.
      Returns:
      the timestamp of resource modification (UTC).
    • toJson

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

      public static SystemData fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads a JSON stream into a SystemData.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      The SystemData that the JSON stream represented, may return null.
      Throws:
      IOException - If a SystemData fails to be read from the jsonReader.