Class MicrosoftGraphUsageDetails
java.lang.Object
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphUsageDetails
usageDetails.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of MicrosoftGraphUsageDetails class. -
Method Summary
Modifier and TypeMethodDescriptionGet the additionalProperties property: usageDetails.Get the lastAccessedDateTime property: The date and time the resource was last accessed by the user.Get the lastModifiedDateTime property: The date and time the resource was last modified by the user.voidvalidate()Validates the instance.withAdditionalProperties(Map<String, Object> additionalProperties) Set the additionalProperties property: usageDetails.withLastAccessedDateTime(OffsetDateTime lastAccessedDateTime) Set the lastAccessedDateTime property: The date and time the resource was last accessed by the user.withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime) Set the lastModifiedDateTime property: The date and time the resource was last modified by the user.
-
Constructor Details
-
MicrosoftGraphUsageDetails
public MicrosoftGraphUsageDetails()Creates an instance of MicrosoftGraphUsageDetails class.
-
-
Method Details
-
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
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
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
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
Get the additionalProperties property: usageDetails.- Returns:
- the additionalProperties value.
-
withAdditionalProperties
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.
-