Class ProviderPermission
java.lang.Object
com.azure.resourcemanager.resources.models.ProviderPermission
The provider permission.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the applicationId property: The application id.Get the managedByRoleDefinition property: Role definition properties.Get the providerAuthorizationConsentState property: The provider authorization consent state.Get the roleDefinition property: Role definition properties.voidvalidate()Validates the instance.withApplicationId(String applicationId) Set the applicationId property: The application id.withManagedByRoleDefinition(RoleDefinition managedByRoleDefinition) Set the managedByRoleDefinition property: Role definition properties.withProviderAuthorizationConsentState(ProviderAuthorizationConsentState providerAuthorizationConsentState) Set the providerAuthorizationConsentState property: The provider authorization consent state.withRoleDefinition(RoleDefinition roleDefinition) Set the roleDefinition property: Role definition properties.
-
Constructor Details
-
ProviderPermission
public ProviderPermission()Creates an instance of ProviderPermission class.
-
-
Method Details
-
applicationId
Get the applicationId property: The application id.- Returns:
- the applicationId value.
-
withApplicationId
Set the applicationId property: The application id.- Parameters:
applicationId- the applicationId value to set.- Returns:
- the ProviderPermission object itself.
-
roleDefinition
Get the roleDefinition property: Role definition properties.- Returns:
- the roleDefinition value.
-
withRoleDefinition
Set the roleDefinition property: Role definition properties.- Parameters:
roleDefinition- the roleDefinition value to set.- Returns:
- the ProviderPermission object itself.
-
managedByRoleDefinition
Get the managedByRoleDefinition property: Role definition properties.- Returns:
- the managedByRoleDefinition value.
-
withManagedByRoleDefinition
Set the managedByRoleDefinition property: Role definition properties.- Parameters:
managedByRoleDefinition- the managedByRoleDefinition value to set.- Returns:
- the ProviderPermission object itself.
-
providerAuthorizationConsentState
Get the providerAuthorizationConsentState property: The provider authorization consent state.- Returns:
- the providerAuthorizationConsentState value.
-
withProviderAuthorizationConsentState
public ProviderPermission withProviderAuthorizationConsentState(ProviderAuthorizationConsentState providerAuthorizationConsentState) Set the providerAuthorizationConsentState property: The provider authorization consent state.- Parameters:
providerAuthorizationConsentState- the providerAuthorizationConsentState value to set.- Returns:
- the ProviderPermission object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-