Class MicrosoftGraphResourceReference
java.lang.Object
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphResourceReference
resourceReference.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of MicrosoftGraphResourceReference class. -
Method Summary
Modifier and TypeMethodDescriptionGet the additionalProperties property: resourceReference.id()Get the id property: The item's unique identifier.type()Get the type property: A string value that can be used to classify the item, such as 'microsoft.graph.driveItem'.voidvalidate()Validates the instance.webUrl()Get the webUrl property: A URL leading to the referenced item.withAdditionalProperties(Map<String, Object> additionalProperties) Set the additionalProperties property: resourceReference.Set the id property: The item's unique identifier.Set the type property: A string value that can be used to classify the item, such as 'microsoft.graph.driveItem'.withWebUrl(String webUrl) Set the webUrl property: A URL leading to the referenced item.
-
Constructor Details
-
MicrosoftGraphResourceReference
public MicrosoftGraphResourceReference()Creates an instance of MicrosoftGraphResourceReference class.
-
-
Method Details
-
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
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
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
Get the webUrl property: A URL leading to the referenced item.- Returns:
- the webUrl value.
-
withWebUrl
Set the webUrl property: A URL leading to the referenced item.- Parameters:
webUrl- the webUrl value to set.- Returns:
- the MicrosoftGraphResourceReference object itself.
-
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.
-