Class MicrosoftGraphIdentity

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

public final class MicrosoftGraphIdentity extends Object
identity.
  • Constructor Details

    • MicrosoftGraphIdentity

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

    • 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.