Class CustomEntityStoreAssignmentRequest
java.lang.Object
com.azure.resourcemanager.security.models.CustomEntityStoreAssignmentRequest
describes the custom entity store assignment request.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the principal property: The principal assigned with entity store.void
validate()
Validates the instance.withPrincipal
(String principal) Set the principal property: The principal assigned with entity store.
-
Constructor Details
-
CustomEntityStoreAssignmentRequest
public CustomEntityStoreAssignmentRequest()
-
-
Method Details
-
principal
Get the principal property: The principal assigned with entity store. If not provided, will use caller principal. Format of principal is: [AAD type]=[PrincipalObjectId];[TenantId].- Returns:
- the principal value.
-
withPrincipal
Set the principal property: The principal assigned with entity store. If not provided, will use caller principal. Format of principal is: [AAD type]=[PrincipalObjectId];[TenantId].- Parameters:
principal
- the principal value to set.- Returns:
- the CustomEntityStoreAssignmentRequest object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-