Class MicrosoftGraphItemReference

java.lang.Object
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphItemReference

public final class MicrosoftGraphItemReference extends Object
itemReference.
  • Constructor Details

    • MicrosoftGraphItemReference

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

    • driveId

      public String driveId()
      Get the driveId property: Unique identifier of the drive instance that contains the item. Read-only.
      Returns:
      the driveId value.
    • withDriveId

      public MicrosoftGraphItemReference withDriveId(String driveId)
      Set the driveId property: Unique identifier of the drive instance that contains the item. Read-only.
      Parameters:
      driveId - the driveId value to set.
      Returns:
      the MicrosoftGraphItemReference object itself.
    • driveType

      public String driveType()
      Get the driveType property: Identifies the type of drive. See [drive][] resource for values.
      Returns:
      the driveType value.
    • withDriveType

      public MicrosoftGraphItemReference withDriveType(String driveType)
      Set the driveType property: Identifies the type of drive. See [drive][] resource for values.
      Parameters:
      driveType - the driveType value to set.
      Returns:
      the MicrosoftGraphItemReference object itself.
    • id

      public String id()
      Get the id property: Unique identifier of the item in the drive. Read-only.
      Returns:
      the id value.
    • withId

      public MicrosoftGraphItemReference withId(String id)
      Set the id property: Unique identifier of the item in the drive. Read-only.
      Parameters:
      id - the id value to set.
      Returns:
      the MicrosoftGraphItemReference object itself.
    • name

      public String name()
      Get the name property: The name of the item being referenced. Read-only.
      Returns:
      the name value.
    • withName

      public MicrosoftGraphItemReference withName(String name)
      Set the name property: The name of the item being referenced. Read-only.
      Parameters:
      name - the name value to set.
      Returns:
      the MicrosoftGraphItemReference object itself.
    • path

      public String path()
      Get the path property: Path that can be used to navigate to the item. Read-only.
      Returns:
      the path value.
    • withPath

      public MicrosoftGraphItemReference withPath(String path)
      Set the path property: Path that can be used to navigate to the item. Read-only.
      Parameters:
      path - the path value to set.
      Returns:
      the MicrosoftGraphItemReference object itself.
    • shareId

      public String shareId()
      Get the shareId property: A unique identifier for a shared resource that can be accessed via the [Shares][] API.
      Returns:
      the shareId value.
    • withShareId

      public MicrosoftGraphItemReference withShareId(String shareId)
      Set the shareId property: A unique identifier for a shared resource that can be accessed via the [Shares][] API.
      Parameters:
      shareId - the shareId value to set.
      Returns:
      the MicrosoftGraphItemReference object itself.
    • sharepointIds

      public MicrosoftGraphSharepointIds sharepointIds()
      Get the sharepointIds property: sharepointIds.
      Returns:
      the sharepointIds value.
    • withSharepointIds

      public MicrosoftGraphItemReference withSharepointIds(MicrosoftGraphSharepointIds sharepointIds)
      Set the sharepointIds property: sharepointIds.
      Parameters:
      sharepointIds - the sharepointIds value to set.
      Returns:
      the MicrosoftGraphItemReference object itself.
    • siteId

      public String siteId()
      Get the siteId property: The siteId property.
      Returns:
      the siteId value.
    • withSiteId

      public MicrosoftGraphItemReference withSiteId(String siteId)
      Set the siteId property: The siteId property.
      Parameters:
      siteId - the siteId value to set.
      Returns:
      the MicrosoftGraphItemReference object itself.
    • additionalProperties

      public Map<String,Object> additionalProperties()
      Get the additionalProperties property: itemReference.
      Returns:
      the additionalProperties value.
    • withAdditionalProperties

      public MicrosoftGraphItemReference withAdditionalProperties(Map<String,Object> additionalProperties)
      Set the additionalProperties property: itemReference.
      Parameters:
      additionalProperties - the additionalProperties value to set.
      Returns:
      the MicrosoftGraphItemReference object itself.
    • validate

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