Package com.azure.core.management
Class SystemData
java.lang.Object
com.azure.core.management.SystemData
- All Implemented Interfaces:
com.azure.json.JsonSerializable<SystemData>
Metadata pertaining to creation and last modification of the resource.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the timestamp of resource creation (UTC).Get the identity that created the resource.Get the type of identity that created the resource.static SystemDatafromJson(com.azure.json.JsonReader jsonReader) Reads a JSON stream into aSystemData.Get the type of identity that last modified the resource.Get the identity that last modified the resource.Get the type of identity that last modified the resource.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
-
SystemData
public SystemData()Creates an instance ofSystemData.
-
-
Method Details
-
createdBy
Get the identity that created the resource.- Returns:
- the identity that created the resource.
-
createdByType
Get the type of identity that created the resource.- Returns:
- the type of identity that created the resource.
-
createdAt
Get the timestamp of resource creation (UTC).- Returns:
- the timestamp of resource creation (UTC).
-
lastModifiedBy
Get the identity that last modified the resource.- Returns:
- the identity that last modified the resource.
-
lastModifiedByType
Get the type of identity that last modified the resource.- Returns:
- the type of identity that last modified the resource.
-
lastModifiedAt
Get the type of identity that last modified the resource.- Returns:
- the timestamp of resource modification (UTC).
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<SystemData>- Throws:
IOException
-
fromJson
Reads a JSON stream into aSystemData.- Parameters:
jsonReader- TheJsonReaderbeing read.- Returns:
- The
SystemDatathat the JSON stream represented, may return null. - Throws:
IOException- If aSystemDatafails to be read from thejsonReader.
-