MicrosoftGraphUsageDetails Class
- java.
lang. Object - com.
azure. resourcemanager. authorization. fluent. models. MicrosoftGraphUsageDetails
- com.
Implements
public final class MicrosoftGraphUsageDetails
implements JsonSerializable<MicrosoftGraphUsageDetails>
usageDetails.
Constructor Summary
Constructor | Description |
---|---|
MicrosoftGraphUsageDetails() |
Creates an instance of Microsoft |
Method Summary
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
additionalProperties()
Get the additional |
static
Microsoft |
fromJson(JsonReader jsonReader)
Reads an instance of Microsoft |
Offset |
lastAccessedDateTime()
Get the last |
Offset |
lastModifiedDateTime()
Get the last |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Microsoft |
withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additional |
Microsoft |
withLastAccessedDateTime(OffsetDateTime lastAccessedDateTime)
Set the last |
Microsoft |
withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)
Set the last |
Methods inherited from java.lang.Object
Constructor Details
MicrosoftGraphUsageDetails
public MicrosoftGraphUsageDetails()
Creates an instance of MicrosoftGraphUsageDetails class.
Method Details
additionalProperties
public Map
Get the additionalProperties property: usageDetails.
Returns:
fromJson
public static MicrosoftGraphUsageDetails fromJson(JsonReader jsonReader)
Reads an instance of MicrosoftGraphUsageDetails from the JsonReader.
Parameters:
Returns:
Throws:
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:
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:
toJson
validate
public void validate()
Validates the instance.
withAdditionalProperties
public MicrosoftGraphUsageDetails withAdditionalProperties(Map
Set the additionalProperties property: usageDetails.
Parameters:
Returns:
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:
Returns:
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:
Returns:
Applies to
Azure SDK for Java