Class MicrosoftGraphPreAuthorizedApplication
- java.lang.Object
-
- com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphPreAuthorizedApplication
-
public final class MicrosoftGraphPreAuthorizedApplication extends Object
preAuthorizedApplication.
-
-
Constructor Summary
Constructors Constructor Description MicrosoftGraphPreAuthorizedApplication()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>
additionalProperties()
Get the additionalProperties property: preAuthorizedApplication.String
appId()
Get the appId property: The unique identifier for the application.List<String>
delegatedPermissionIds()
Get the delegatedPermissionIds property: The unique identifier for the oauth2PermissionScopes the application requires.void
validate()
Validates the instance.MicrosoftGraphPreAuthorizedApplication
withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: preAuthorizedApplication.MicrosoftGraphPreAuthorizedApplication
withAppId(String appId)
Set the appId property: The unique identifier for the application.MicrosoftGraphPreAuthorizedApplication
withDelegatedPermissionIds(List<String> delegatedPermissionIds)
Set the delegatedPermissionIds property: The unique identifier for the oauth2PermissionScopes the application requires.
-
-
-
Method Detail
-
appId
public String appId()
Get the appId property: The unique identifier for the application.- Returns:
- the appId value.
-
withAppId
public MicrosoftGraphPreAuthorizedApplication withAppId(String appId)
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.
-
-