Class MicrosoftGraphItemActivity
- java.lang.Object
-
- com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
-
- com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphItemActivity
-
public final class MicrosoftGraphItemActivity extends MicrosoftGraphEntity
itemActivity.
-
-
Constructor Summary
Constructors Constructor Description MicrosoftGraphItemActivity()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>
access()
Get the access property: accessAction.OffsetDateTime
activityDateTime()
Get the activityDateTime property: Details about when the activity took place.MicrosoftGraphIdentitySet
actor()
Get the actor property: identitySet.Map<String,Object>
additionalProperties()
Get the additionalProperties property: itemActivity.MicrosoftGraphDriveItem
driveItem()
Get the driveItem property: driveItem.void
validate()
Validates the instance.MicrosoftGraphItemActivity
withAccess(Map<String,Object> access)
Set the access property: accessAction.MicrosoftGraphItemActivity
withActivityDateTime(OffsetDateTime activityDateTime)
Set the activityDateTime property: Details about when the activity took place.MicrosoftGraphItemActivity
withActor(MicrosoftGraphIdentitySet actor)
Set the actor property: identitySet.MicrosoftGraphItemActivity
withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: itemActivity.MicrosoftGraphItemActivity
withDriveItem(MicrosoftGraphDriveItem driveItem)
Set the driveItem property: driveItem.MicrosoftGraphItemActivity
withId(String id)
Set the id property: Read-only.-
Methods inherited from class com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
id
-
-
-
-
Method Detail
-
access
public Map<String,Object> access()
Get the access property: accessAction.- Returns:
- the access value.
-
withAccess
public MicrosoftGraphItemActivity withAccess(Map<String,Object> access)
Set the access property: accessAction.- Parameters:
access
- the access value to set.- Returns:
- the MicrosoftGraphItemActivity object itself.
-
activityDateTime
public OffsetDateTime activityDateTime()
Get the activityDateTime property: Details about when the activity took place. Read-only.- Returns:
- the activityDateTime value.
-
withActivityDateTime
public MicrosoftGraphItemActivity withActivityDateTime(OffsetDateTime activityDateTime)
Set the activityDateTime property: Details about when the activity took place. Read-only.- Parameters:
activityDateTime
- the activityDateTime value to set.- Returns:
- the MicrosoftGraphItemActivity object itself.
-
actor
public MicrosoftGraphIdentitySet actor()
Get the actor property: identitySet.- Returns:
- the actor value.
-
withActor
public MicrosoftGraphItemActivity withActor(MicrosoftGraphIdentitySet actor)
Set the actor property: identitySet.- Parameters:
actor
- the actor value to set.- Returns:
- the MicrosoftGraphItemActivity object itself.
-
driveItem
public MicrosoftGraphDriveItem driveItem()
Get the driveItem property: driveItem.- Returns:
- the driveItem value.
-
withDriveItem
public MicrosoftGraphItemActivity withDriveItem(MicrosoftGraphDriveItem driveItem)
Set the driveItem property: driveItem.- Parameters:
driveItem
- the driveItem value to set.- Returns:
- the MicrosoftGraphItemActivity object itself.
-
additionalProperties
public Map<String,Object> additionalProperties()
Get the additionalProperties property: itemActivity.- Overrides:
additionalProperties
in classMicrosoftGraphEntity
- Returns:
- the additionalProperties value.
-
withAdditionalProperties
public MicrosoftGraphItemActivity withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: itemActivity.- Overrides:
withAdditionalProperties
in classMicrosoftGraphEntity
- Parameters:
additionalProperties
- the additionalProperties value to set.- Returns:
- the MicrosoftGraphItemActivity object itself.
-
withId
public MicrosoftGraphItemActivity withId(String id)
Set the id property: Read-only.- Overrides:
withId
in classMicrosoftGraphEntity
- Parameters:
id
- the id value to set.- Returns:
- the MicrosoftGraphEntity object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validate
in classMicrosoftGraphEntity
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-