Class MicrosoftGraphLinkedResource

java.lang.Object
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphLinkedResource

public final class MicrosoftGraphLinkedResource extends MicrosoftGraphEntity
linkedResource.
  • Constructor Details

    • MicrosoftGraphLinkedResource

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

    • applicationName

      public String applicationName()
      Get the applicationName property: Field indicating the app name of the source that is sending the linkedResource.
      Returns:
      the applicationName value.
    • withApplicationName

      public MicrosoftGraphLinkedResource withApplicationName(String applicationName)
      Set the applicationName property: Field indicating the app name of the source that is sending the linkedResource.
      Parameters:
      applicationName - the applicationName value to set.
      Returns:
      the MicrosoftGraphLinkedResource object itself.
    • displayName

      public String displayName()
      Get the displayName property: Field indicating the title of the linkedResource.
      Returns:
      the displayName value.
    • withDisplayName

      public MicrosoftGraphLinkedResource withDisplayName(String displayName)
      Set the displayName property: Field indicating the title of the linkedResource.
      Parameters:
      displayName - the displayName value to set.
      Returns:
      the MicrosoftGraphLinkedResource object itself.
    • externalId

      public String externalId()
      Get the externalId property: Id of the object that is associated with this task on the third-party/partner system.
      Returns:
      the externalId value.
    • withExternalId

      public MicrosoftGraphLinkedResource withExternalId(String externalId)
      Set the externalId property: Id of the object that is associated with this task on the third-party/partner system.
      Parameters:
      externalId - the externalId value to set.
      Returns:
      the MicrosoftGraphLinkedResource object itself.
    • webUrl

      public String webUrl()
      Get the webUrl property: Deep link to the linkedResource.
      Returns:
      the webUrl value.
    • withWebUrl

      public MicrosoftGraphLinkedResource withWebUrl(String webUrl)
      Set the webUrl property: Deep link to the linkedResource.
      Parameters:
      webUrl - the webUrl value to set.
      Returns:
      the MicrosoftGraphLinkedResource object itself.
    • additionalProperties

      public Map<String,Object> additionalProperties()
      Get the additionalProperties property: linkedResource.
      Overrides:
      additionalProperties in class MicrosoftGraphEntity
      Returns:
      the additionalProperties value.
    • withAdditionalProperties

      public MicrosoftGraphLinkedResource withAdditionalProperties(Map<String,Object> additionalProperties)
      Set the additionalProperties property: linkedResource.
      Overrides:
      withAdditionalProperties in class MicrosoftGraphEntity
      Parameters:
      additionalProperties - the additionalProperties value to set.
      Returns:
      the MicrosoftGraphLinkedResource object itself.
    • withId

      Set the id property: Read-only.
      Overrides:
      withId in class MicrosoftGraphEntity
      Parameters:
      id - the id value to set.
      Returns:
      the MicrosoftGraphEntity object itself.
    • validate

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