Class MicrosoftGraphIdentity
- java.lang.Object
-
- com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphIdentity
-
public class MicrosoftGraphIdentity extends Object
identity.
-
-
Constructor Summary
Constructors Constructor Description MicrosoftGraphIdentity()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>additionalProperties()Get the additionalProperties property: identity.StringdisplayName()Get the displayName property: The identity's display name.Stringid()Get the id property: Unique identifier for the identity.voidvalidate()Validates the instance.MicrosoftGraphIdentitywithAdditionalProperties(Map<String,Object> additionalProperties)Set the additionalProperties property: identity.MicrosoftGraphIdentitywithDisplayName(String displayName)Set the displayName property: The identity's display name.MicrosoftGraphIdentitywithId(String id)Set the id property: Unique identifier for the identity.
-
-
-
Method Detail
-
displayName
public String displayName()
Get the displayName property: The identity's display name. Note that this may not always be available or up to date. For example, if a user changes their display name, the API may show the new value in a future response, but the items associated with the user won't show up as having changed when using delta.- Returns:
- the displayName value.
-
withDisplayName
public MicrosoftGraphIdentity withDisplayName(String displayName)
Set the displayName property: The identity's display name. Note that this may not always be available or up to date. For example, if a user changes their display name, the API may show the new value in a future response, but the items associated with the user won't show up as having changed when using delta.- Parameters:
displayName- the displayName value to set.- Returns:
- the MicrosoftGraphIdentity object itself.
-
id
public String id()
Get the id property: Unique identifier for the identity.- Returns:
- the id value.
-
withId
public MicrosoftGraphIdentity withId(String id)
Set the id property: Unique identifier for the identity.- Parameters:
id- the id value to set.- Returns:
- the MicrosoftGraphIdentity object itself.
-
additionalProperties
public Map<String,Object> additionalProperties()
Get the additionalProperties property: identity.- Returns:
- the additionalProperties value.
-
withAdditionalProperties
public MicrosoftGraphIdentity withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: identity.- Parameters:
additionalProperties- the additionalProperties value to set.- Returns:
- the MicrosoftGraphIdentity object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-