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 Details

    • MicrosoftGraphItemActivity

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

    • 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

      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 class MicrosoftGraphEntity
      Returns:
      the additionalProperties value.
    • withAdditionalProperties

      public MicrosoftGraphItemActivity withAdditionalProperties(Map<String,Object> additionalProperties)
      Set the additionalProperties property: itemActivity.
      Overrides:
      withAdditionalProperties in class MicrosoftGraphEntity
      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 class MicrosoftGraphEntity
      Parameters:
      id - the id value to set.
      Returns:
      the MicrosoftGraphEntity object itself.
    • validate

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