SystemData Class

  • java.lang.Object
    • com.azure.core.management.SystemData

Implements

public final class SystemData
implements JsonSerializable<SystemData>

Metadata pertaining to creation and last modification of the resource.

Constructor Summary

Constructor Description
SystemData()

Creates an instance of SystemData.

Method Summary

Modifier and Type Method and Description
OffsetDateTime createdAt()

Get the timestamp of resource creation (UTC).

String createdBy()

Get the identity that created the resource.

ResourceAuthorIdentityType createdByType()

Get the type of identity that created the resource.

static SystemData fromJson(JsonReader jsonReader)

Reads a JSON stream into a SystemData.

OffsetDateTime lastModifiedAt()

Get the type of identity that last modified the resource.

String lastModifiedBy()

Get the identity that last modified the resource.

ResourceAuthorIdentityType lastModifiedByType()

Get the type of identity that last modified the resource.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from java.lang.Object

Constructor Details

SystemData

public SystemData()

Creates an instance of SystemData.

Method Details

createdAt

public OffsetDateTime createdAt()

Get the timestamp of resource creation (UTC).

Returns:

the timestamp of resource creation (UTC).

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.

fromJson

public static SystemData fromJson(JsonReader jsonReader)

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.

lastModifiedAt

public OffsetDateTime lastModifiedAt()

Get the type of identity that last modified the resource.

Returns:

the timestamp of resource modification (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.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to