Class AllowedPrincipals
java.lang.Object
com.azure.resourcemanager.appservice.models.AllowedPrincipals
The configuration settings of the Azure Active Directory allowed principals.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongroups()
Get the groups property: The list of the allowed groups.Get the identities property: The list of the allowed identities.void
validate()
Validates the instance.withGroups
(List<String> groups) Set the groups property: The list of the allowed groups.withIdentities
(List<String> identities) Set the identities property: The list of the allowed identities.
-
Constructor Details
-
AllowedPrincipals
public AllowedPrincipals()
-
-
Method Details
-
groups
Get the groups property: The list of the allowed groups.- Returns:
- the groups value.
-
withGroups
Set the groups property: The list of the allowed groups.- Parameters:
groups
- the groups value to set.- Returns:
- the AllowedPrincipals object itself.
-
identities
Get the identities property: The list of the allowed identities.- Returns:
- the identities value.
-
withIdentities
Set the identities property: The list of the allowed identities.- Parameters:
identities
- the identities value to set.- Returns:
- the AllowedPrincipals object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-