AllowedPrincipals Class
- java.
lang. Object - com.
azure. resourcemanager. appservice. models. AllowedPrincipals
- com.
Implements
public final class AllowedPrincipals
implements JsonSerializable<AllowedPrincipals>
The configuration settings of the Azure Active Directory allowed principals.
Constructor Summary
Constructor | Description |
---|---|
AllowedPrincipals() |
Creates an instance of Allowed |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Allowed |
fromJson(JsonReader jsonReader)
Reads an instance of Allowed |
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. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Allowed |
withGroups(List<String> groups)
Set the groups property: The list of the allowed groups. |
Allowed |
withIdentities(List<String> identities)
Set the identities property: The list of the allowed identities. |
Methods inherited from java.lang.Object
Constructor Details
AllowedPrincipals
public AllowedPrincipals()
Creates an instance of AllowedPrincipals class.
Method Details
fromJson
public static AllowedPrincipals fromJson(JsonReader jsonReader)
Reads an instance of AllowedPrincipals from the JsonReader.
Parameters:
Returns:
Throws:
groups
public List
Get the groups property: The list of the allowed groups.
Returns:
identities
public List
Get the identities property: The list of the allowed identities.
Returns:
toJson
validate
public void validate()
Validates the instance.
withGroups
public AllowedPrincipals withGroups(List
Set the groups property: The list of the allowed groups.
Parameters:
Returns:
withIdentities
public AllowedPrincipals withIdentities(List
Set the identities property: The list of the allowed identities.
Parameters:
Returns:
Applies to
Azure SDK for Java