Class MicrosoftGraphResourceReference
- java.lang.Object
-
- com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphResourceReference
-
public final class MicrosoftGraphResourceReference extends Object
resourceReference.
-
-
Constructor Summary
Constructors Constructor Description MicrosoftGraphResourceReference()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>
additionalProperties()
Get the additionalProperties property: resourceReference.String
id()
Get the id property: The item's unique identifier.String
type()
Get the type property: A string value that can be used to classify the item, such as 'microsoft.graph.driveItem'.void
validate()
Validates the instance.String
webUrl()
Get the webUrl property: A URL leading to the referenced item.MicrosoftGraphResourceReference
withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: resourceReference.MicrosoftGraphResourceReference
withId(String id)
Set the id property: The item's unique identifier.MicrosoftGraphResourceReference
withType(String type)
Set the type property: A string value that can be used to classify the item, such as 'microsoft.graph.driveItem'.MicrosoftGraphResourceReference
withWebUrl(String webUrl)
Set the webUrl property: A URL leading to the referenced item.
-
-
-
Method Detail
-
id
public String id()
Get the id property: The item's unique identifier.- Returns:
- the id value.
-
withId
public MicrosoftGraphResourceReference withId(String id)
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.
-
-