Class AccountResourceSystemData
java.lang.Object
com.azure.resourcemanager.graphservices.models.AccountResourceSystemData
Metadata pertaining to creation and last modification of the resource.
-
Constructor Summary
ConstructorDescriptionCreates an instance of AccountResourceSystemData class. -
Method Summary
Modifier and TypeMethodDescriptionGet the createdAt property: The timestamp of resource creation (UTC).Get the createdByType property: The type of identity that created the resource.Get the lastModifiedAt property: The timestamp of resource last modification (UTC).Get the lastModifiedByType property: The type of identity that last modified the resource.void
validate()
Validates the instance.withCreatedAt
(OffsetDateTime createdAt) Set the createdAt property: The timestamp of resource creation (UTC).withCreatedByType
(CreatedByType createdByType) Set the createdByType property: The type of identity that created the resource.withLastModifiedAt
(OffsetDateTime lastModifiedAt) Set the lastModifiedAt property: The timestamp of resource last modification (UTC).withLastModifiedByType
(CreatedByType lastModifiedByType) Set the lastModifiedByType property: The type of identity that last modified the resource.
-
Constructor Details
-
AccountResourceSystemData
public AccountResourceSystemData()Creates an instance of AccountResourceSystemData class.
-
-
Method Details
-
createdByType
Get the createdByType property: The type of identity that created the resource.- Returns:
- the createdByType value.
-
withCreatedByType
Set the createdByType property: The type of identity that created the resource.- Parameters:
createdByType
- the createdByType value to set.- Returns:
- the AccountResourceSystemData object itself.
-
createdAt
Get the createdAt property: The timestamp of resource creation (UTC).- Returns:
- the createdAt value.
-
withCreatedAt
Set the createdAt property: The timestamp of resource creation (UTC).- Parameters:
createdAt
- the createdAt value to set.- Returns:
- the AccountResourceSystemData object itself.
-
lastModifiedByType
Get the lastModifiedByType property: The type of identity that last modified the resource.- Returns:
- the lastModifiedByType value.
-
withLastModifiedByType
Set the lastModifiedByType property: The type of identity that last modified the resource.- Parameters:
lastModifiedByType
- the lastModifiedByType value to set.- Returns:
- the AccountResourceSystemData object itself.
-
lastModifiedAt
Get the lastModifiedAt property: The timestamp of resource last modification (UTC).- Returns:
- the lastModifiedAt value.
-
withLastModifiedAt
Set the lastModifiedAt property: The timestamp of resource last modification (UTC).- Parameters:
lastModifiedAt
- the lastModifiedAt value to set.- Returns:
- the AccountResourceSystemData object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-