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.OffsetDateTimeactivityDateTime()Get the activityDateTime property: Details about when the activity took place.MicrosoftGraphIdentitySetactor()Get the actor property: identitySet.Map<String,Object>additionalProperties()Get the additionalProperties property: itemActivity.MicrosoftGraphDriveItemdriveItem()Get the driveItem property: driveItem.voidvalidate()Validates the instance.MicrosoftGraphItemActivitywithAccess(Map<String,Object> access)Set the access property: accessAction.MicrosoftGraphItemActivitywithActivityDateTime(OffsetDateTime activityDateTime)Set the activityDateTime property: Details about when the activity took place.MicrosoftGraphItemActivitywithActor(MicrosoftGraphIdentitySet actor)Set the actor property: identitySet.MicrosoftGraphItemActivitywithAdditionalProperties(Map<String,Object> additionalProperties)Set the additionalProperties property: itemActivity.MicrosoftGraphItemActivitywithDriveItem(MicrosoftGraphDriveItem driveItem)Set the driveItem property: driveItem.MicrosoftGraphItemActivitywithId(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:
additionalPropertiesin classMicrosoftGraphEntity- Returns:
- the additionalProperties value.
-
withAdditionalProperties
public MicrosoftGraphItemActivity withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: itemActivity.- Overrides:
withAdditionalPropertiesin 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:
withIdin classMicrosoftGraphEntity- Parameters:
id- the id value to set.- Returns:
- the MicrosoftGraphEntity object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validatein classMicrosoftGraphEntity- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-