Class AllowedPrincipals


  • public final class AllowedPrincipals
    extends Object
    The configuration settings of the Azure Active Directory allowed principals.
    • Constructor Detail

      • AllowedPrincipals

        public AllowedPrincipals()
    • 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.