Class AccountResourceSystemData

java.lang.Object
com.azure.resourcemanager.graphservices.models.AccountResourceSystemData

public final class AccountResourceSystemData extends Object
Metadata pertaining to creation and last modification of the resource.
  • Constructor Details

    • AccountResourceSystemData

      public AccountResourceSystemData()
      Creates an instance of AccountResourceSystemData class.
  • Method Details

    • createdByType

      public CreatedByType createdByType()
      Get the createdByType property: The type of identity that created the resource.
      Returns:
      the createdByType value.
    • withCreatedByType

      public AccountResourceSystemData withCreatedByType(CreatedByType createdByType)
      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

      public OffsetDateTime createdAt()
      Get the createdAt property: The timestamp of resource creation (UTC).
      Returns:
      the createdAt value.
    • withCreatedAt

      public AccountResourceSystemData withCreatedAt(OffsetDateTime createdAt)
      Set the createdAt property: The timestamp of resource creation (UTC).
      Parameters:
      createdAt - the createdAt value to set.
      Returns:
      the AccountResourceSystemData object itself.
    • lastModifiedByType

      public CreatedByType lastModifiedByType()
      Get the lastModifiedByType property: The type of identity that last modified the resource.
      Returns:
      the lastModifiedByType value.
    • withLastModifiedByType

      public AccountResourceSystemData withLastModifiedByType(CreatedByType lastModifiedByType)
      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

      public OffsetDateTime lastModifiedAt()
      Get the lastModifiedAt property: The timestamp of resource last modification (UTC).
      Returns:
      the lastModifiedAt value.
    • withLastModifiedAt

      public AccountResourceSystemData withLastModifiedAt(OffsetDateTime lastModifiedAt)
      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.