AccountResourceSystemData Class
- java.
lang. Object - com.
azure. resourcemanager. graphservices. models. AccountResourceSystemData
- com.
Implements
public final class AccountResourceSystemData
implements JsonSerializable<AccountResourceSystemData>
Metadata pertaining to creation and last modification of the resource.
Constructor Summary
| Constructor | Description |
|---|---|
| AccountResourceSystemData() |
Creates an instance of Account |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Offset |
createdAt()
Get the created |
|
Created |
createdByType()
Get the created |
|
static
Account |
fromJson(JsonReader jsonReader)
Reads an instance of Account |
|
Offset |
lastModifiedAt()
Get the last |
|
Created |
lastModifiedByType()
Get the last |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Account |
withCreatedAt(OffsetDateTime createdAt)
Set the created |
|
Account |
withCreatedByType(CreatedByType createdByType)
Set the created |
|
Account |
withLastModifiedAt(OffsetDateTime lastModifiedAt)
Set the last |
|
Account |
withLastModifiedByType(CreatedByType lastModifiedByType)
Set the last |
Methods inherited from java.lang.Object
Constructor Details
AccountResourceSystemData
public AccountResourceSystemData()
Creates an instance of AccountResourceSystemData class.
Method Details
createdAt
public OffsetDateTime createdAt()
Get the createdAt property: The timestamp of resource creation (UTC).
Returns:
createdByType
public CreatedByType createdByType()
Get the createdByType property: The type of identity that created the resource.
Returns:
fromJson
public static AccountResourceSystemData fromJson(JsonReader jsonReader)
Reads an instance of AccountResourceSystemData from the JsonReader.
Parameters:
Returns:
Throws:
lastModifiedAt
public OffsetDateTime lastModifiedAt()
Get the lastModifiedAt property: The timestamp of resource last modification (UTC).
Returns:
lastModifiedByType
public CreatedByType lastModifiedByType()
Get the lastModifiedByType property: The type of identity that last modified the resource.
Returns:
toJson
validate
public void validate()
Validates the instance.
withCreatedAt
public AccountResourceSystemData withCreatedAt(OffsetDateTime createdAt)
Set the createdAt property: The timestamp of resource creation (UTC).
Parameters:
Returns:
withCreatedByType
public AccountResourceSystemData withCreatedByType(CreatedByType createdByType)
Set the createdByType property: The type of identity that created the resource.
Parameters:
Returns:
withLastModifiedAt
public AccountResourceSystemData withLastModifiedAt(OffsetDateTime lastModifiedAt)
Set the lastModifiedAt property: The timestamp of resource last modification (UTC).
Parameters:
Returns:
withLastModifiedByType
public AccountResourceSystemData withLastModifiedByType(CreatedByType lastModifiedByType)
Set the lastModifiedByType property: The type of identity that last modified the resource.
Parameters:
Returns: