Class AllowedPrincipals
- java.lang.Object
-
- com.azure.resourcemanager.appservice.models.AllowedPrincipals
-
public final class AllowedPrincipals extends Object
The configuration settings of the Azure Active Directory allowed principals.
-
-
Constructor Summary
Constructors Constructor Description AllowedPrincipals()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>groups()Get the groups property: The list of the allowed groups.List<String>identities()Get the identities property: The list of the allowed identities.voidvalidate()Validates the instance.AllowedPrincipalswithGroups(List<String> groups)Set the groups property: The list of the allowed groups.AllowedPrincipalswithIdentities(List<String> identities)Set the identities property: The list of the allowed identities.
-
-
-
Method Detail
-
groups
public List<String> groups()
Get the groups property: The list of the allowed groups.- Returns:
- the groups value.
-
withGroups
public AllowedPrincipals withGroups(List<String> groups)
Set the groups property: The list of the allowed groups.- Parameters:
groups- the groups value to set.- Returns:
- the AllowedPrincipals object itself.
-
identities
public List<String> identities()
Get the identities property: The list of the allowed identities.- Returns:
- the identities value.
-
withIdentities
public AllowedPrincipals withIdentities(List<String> identities)
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.
-
-