Class MicrosoftGraphUsageDetails

java.lang.Object
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphUsageDetails

public final class MicrosoftGraphUsageDetails extends Object
usageDetails.
  • Constructor Details

    • MicrosoftGraphUsageDetails

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

    • lastAccessedDateTime

      public OffsetDateTime lastAccessedDateTime()
      Get the lastAccessedDateTime property: The date and time the resource was last accessed by the user. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: 2014-01-01T00:00:00Z. Read-only.
      Returns:
      the lastAccessedDateTime value.
    • withLastAccessedDateTime

      public MicrosoftGraphUsageDetails withLastAccessedDateTime(OffsetDateTime lastAccessedDateTime)
      Set the lastAccessedDateTime property: The date and time the resource was last accessed by the user. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: 2014-01-01T00:00:00Z. Read-only.
      Parameters:
      lastAccessedDateTime - the lastAccessedDateTime value to set.
      Returns:
      the MicrosoftGraphUsageDetails object itself.
    • lastModifiedDateTime

      public OffsetDateTime lastModifiedDateTime()
      Get the lastModifiedDateTime property: The date and time the resource was last modified by the user. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: 2014-01-01T00:00:00Z. Read-only.
      Returns:
      the lastModifiedDateTime value.
    • withLastModifiedDateTime

      public MicrosoftGraphUsageDetails withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)
      Set the lastModifiedDateTime property: The date and time the resource was last modified by the user. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: 2014-01-01T00:00:00Z. Read-only.
      Parameters:
      lastModifiedDateTime - the lastModifiedDateTime value to set.
      Returns:
      the MicrosoftGraphUsageDetails object itself.
    • additionalProperties

      public Map<String,Object> additionalProperties()
      Get the additionalProperties property: usageDetails.
      Returns:
      the additionalProperties value.
    • withAdditionalProperties

      public MicrosoftGraphUsageDetails withAdditionalProperties(Map<String,Object> additionalProperties)
      Set the additionalProperties property: usageDetails.
      Parameters:
      additionalProperties - the additionalProperties value to set.
      Returns:
      the MicrosoftGraphUsageDetails object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.