Class MicrosoftGraphPreAuthorizedApplication

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

public final class MicrosoftGraphPreAuthorizedApplication extends Object
preAuthorizedApplication.
  • Constructor Details

    • MicrosoftGraphPreAuthorizedApplication

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

    • appId

      public String appId()
      Get the appId property: The unique identifier for the application.
      Returns:
      the appId value.
    • withAppId

      Set the appId property: The unique identifier for the application.
      Parameters:
      appId - the appId value to set.
      Returns:
      the MicrosoftGraphPreAuthorizedApplication object itself.
    • delegatedPermissionIds

      public List<String> delegatedPermissionIds()
      Get the delegatedPermissionIds property: The unique identifier for the oauth2PermissionScopes the application requires.
      Returns:
      the delegatedPermissionIds value.
    • withDelegatedPermissionIds

      public MicrosoftGraphPreAuthorizedApplication withDelegatedPermissionIds(List<String> delegatedPermissionIds)
      Set the delegatedPermissionIds property: The unique identifier for the oauth2PermissionScopes the application requires.
      Parameters:
      delegatedPermissionIds - the delegatedPermissionIds value to set.
      Returns:
      the MicrosoftGraphPreAuthorizedApplication object itself.
    • additionalProperties

      public Map<String,Object> additionalProperties()
      Get the additionalProperties property: preAuthorizedApplication.
      Returns:
      the additionalProperties value.
    • withAdditionalProperties

      public MicrosoftGraphPreAuthorizedApplication withAdditionalProperties(Map<String,Object> additionalProperties)
      Set the additionalProperties property: preAuthorizedApplication.
      Parameters:
      additionalProperties - the additionalProperties value to set.
      Returns:
      the MicrosoftGraphPreAuthorizedApplication object itself.
    • validate

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