Class MicrosoftGraphResourceReference

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

public final class MicrosoftGraphResourceReference extends Object
resourceReference.
  • Constructor Details

    • MicrosoftGraphResourceReference

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

    • id

      public String id()
      Get the id property: The item's unique identifier.
      Returns:
      the id value.
    • withId

      Set the id property: The item's unique identifier.
      Parameters:
      id - the id value to set.
      Returns:
      the MicrosoftGraphResourceReference object itself.
    • type

      public String type()
      Get the type property: A string value that can be used to classify the item, such as 'microsoft.graph.driveItem'.
      Returns:
      the type value.
    • withType

      public MicrosoftGraphResourceReference withType(String type)
      Set the type property: A string value that can be used to classify the item, such as 'microsoft.graph.driveItem'.
      Parameters:
      type - the type value to set.
      Returns:
      the MicrosoftGraphResourceReference object itself.
    • webUrl

      public String webUrl()
      Get the webUrl property: A URL leading to the referenced item.
      Returns:
      the webUrl value.
    • withWebUrl

      public MicrosoftGraphResourceReference withWebUrl(String webUrl)
      Set the webUrl property: A URL leading to the referenced item.
      Parameters:
      webUrl - the webUrl value to set.
      Returns:
      the MicrosoftGraphResourceReference object itself.
    • additionalProperties

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

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

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