Class CustomEntityStoreAssignmentRequest

java.lang.Object
com.azure.resourcemanager.security.models.CustomEntityStoreAssignmentRequest

public final class CustomEntityStoreAssignmentRequest extends Object
describes the custom entity store assignment request.
  • Constructor Details

    • CustomEntityStoreAssignmentRequest

      public CustomEntityStoreAssignmentRequest()
  • Method Details

    • principal

      public String 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

      public CustomEntityStoreAssignmentRequest withPrincipal(String principal)
      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.