Class MicrosoftGraphPreAuthorizedApplication
java.lang.Object
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphPreAuthorizedApplication
preAuthorizedApplication.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of MicrosoftGraphPreAuthorizedApplication class. -
Method Summary
Modifier and TypeMethodDescriptionGet the additionalProperties property: preAuthorizedApplication.appId()Get the appId property: The unique identifier for the application.Get the delegatedPermissionIds property: The unique identifier for the oauth2PermissionScopes the application requires.voidvalidate()Validates the instance.withAdditionalProperties(Map<String, Object> additionalProperties) Set the additionalProperties property: preAuthorizedApplication.Set the appId property: The unique identifier for the application.withDelegatedPermissionIds(List<String> delegatedPermissionIds) Set the delegatedPermissionIds property: The unique identifier for the oauth2PermissionScopes the application requires.
-
Constructor Details
-
MicrosoftGraphPreAuthorizedApplication
public MicrosoftGraphPreAuthorizedApplication()Creates an instance of MicrosoftGraphPreAuthorizedApplication class.
-
-
Method Details
-
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
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
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.
-