public final class AllowedPrincipals extends Object
| Constructor and Description |
|---|
AllowedPrincipals() |
| Modifier and Type | Method and 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.
|
void |
validate()
Validates the instance.
|
AllowedPrincipals |
withGroups(List<String> groups)
Set the groups property: The list of the allowed groups.
|
AllowedPrincipals |
withIdentities(List<String> identities)
Set the identities property: The list of the allowed identities.
|
public List<String> groups()
public AllowedPrincipals withGroups(List<String> groups)
groups - the groups value to set.public List<String> identities()
public AllowedPrincipals withIdentities(List<String> identities)
identities - the identities value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Visit the Azure for Java Developers site for more Java documentation, including quick starts, tutorials, and code samples.