Class CustomEntityStoreAssignmentRequestProperties
java.lang.Object
com.azure.resourcemanager.security.fluent.models.CustomEntityStoreAssignmentRequestProperties
describes properties of 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
-
CustomEntityStoreAssignmentRequestProperties
public CustomEntityStoreAssignmentRequestProperties()
-
-
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 CustomEntityStoreAssignmentRequestProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-